带有php7.0和php7.3的Phalcon

时间:2019-06-13 18:08:18

标签: php debian phalcon

Debian 8,ISPConfig 3

前一段时间,我已经在PHP 7.0中安装了Phalcon。 一切正常。 但是现在我想使用PHP 7.3,而不卸载以前的版本。

我已经安装了PHP 7.3,并且一切正常。我可以在版本之间进行切换,但不能使用以下命令安装Phalcon:

sudo apt-get install php7.3-phalcon

以下是回复:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'php-phalcon' instead of 'php7.3-phalcon'
The following package was automatically installed and is no longer required:
  libtidy5
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  php-phalcon
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 0 B/4,322 kB of archives.
After this operation, 25.8 MB of additional disk space will be used.
(Reading database ... 78237 files and directories currently installed.)
Preparing to unpack .../php-phalcon_3.4.2-1+0~20190104095752.4+stretch~1.gbp469dbc_amd64.deb ...
Unpacking php-phalcon (3.4.2-1+0~20190104095752.4+stretch~1.gbp469dbc) ...
dpkg: error processing archive /var/cache/apt/archives/php-phalcon_3.4.2-1+0~20190104095752.4+stretch~1.gbp469dbc_amd64.deb (--unpack):
 trying to overwrite '/usr/include/php/20151012/ext/phalcon/php_phalcon.h', which is also in package php7.0-phalcon 3.4.3-1+php7.0
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/php-phalcon_3.4.2-1+0~20190104095752.4+stretch~1.gbp469dbc_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

0 个答案:

没有答案
相关问题