在没有Apache的Nginx上安装php7.2-xml

时间:2018-08-10 14:43:44

标签: php nginx php-extension

我正在尝试使用nginx为我的LEMP安装php7.2-xml,但是出现libapache2-mod-php7.2问题。奇怪的是,我不使用apache而是使用nginx时将其连接到apache。无论如何,我无法安装扩展程序。如何安装php7.2-xml

mann@debian:~/Dropbox/deploy$ sudo apt-get install php7.2-xml
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php7.2-xml is already the newest version (7.2.8-2).
The following packages were automatically installed and are no longer required:
  libargon2-0 libc-ares2 libhttp-parser2.7.1 libuv1 nodejs-doc
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1571 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up libapache2-mod-php7.2 (7.2.8-2) ...
dpkg: error processing package libapache2-mod-php7.2 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 libapache2-mod-php7.2
E: Sub-process /usr/bin/dpkg returned an error code (1)
mann@debian:~/Dropbox/deploy$

0 个答案:

没有答案