Rumah > pembangunan bahagian belakang > tutorial php > 使用lamp一键包升级后apache挂了

使用lamp一键包升级后apache挂了

WBOY
Lepaskan: 2016-06-06 20:34:13
asal
963 orang telah melayarinya

本来使用的是directadmin面板一键包安装的lamp环境,现在升级了新版本后apache起不来了。

如下报错:

<code>Starting httpd: httpd: 
Syntax error on line 50 of /etc/httpd/conf/httpd.conf: 
Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: 
Cannot load /usr/lib/apache/mod_ruid2.so into server: 
/usr/lib/apache/mod_ruid2.so: cannot open shared object file: No such file or directory



Starting httpd: httpd: 
Syntax error on line 50 of /etc/httpd/conf/httpd.conf: 
Syntax error on line 3 of /etc/httpd/conf/extra/httpd-phpmodules.conf: 
Cannot load /usr/lib/apache/mod_mpm_prefork.so into server: 
/usr/lib/apache/mod_mpm_prefork.so: cannot open shared object file: No such file or directory
</code>
Salin selepas log masuk
Salin selepas log masuk

我注释了上面两个文件,apache起来了,目前的环境是Server version: Apache/2.4.12 使用directadmin一键包升级后,php升级到了5.5。

回到问题,这两个文件/usr/lib/apache/mod_ruid2.so和/usr/lib/apache/mod_mpm_prefork.so在目录下都不存在,directadmin用不了,咋解决?

.

回复内容:

本来使用的是directadmin面板一键包安装的lamp环境,现在升级了新版本后apache起不来了。

如下报错:

<code>Starting httpd: httpd: 
Syntax error on line 50 of /etc/httpd/conf/httpd.conf: 
Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: 
Cannot load /usr/lib/apache/mod_ruid2.so into server: 
/usr/lib/apache/mod_ruid2.so: cannot open shared object file: No such file or directory



Starting httpd: httpd: 
Syntax error on line 50 of /etc/httpd/conf/httpd.conf: 
Syntax error on line 3 of /etc/httpd/conf/extra/httpd-phpmodules.conf: 
Cannot load /usr/lib/apache/mod_mpm_prefork.so into server: 
/usr/lib/apache/mod_mpm_prefork.so: cannot open shared object file: No such file or directory
</code>
Salin selepas log masuk
Salin selepas log masuk

我注释了上面两个文件,apache起来了,目前的环境是Server version: Apache/2.4.12 使用directadmin一键包升级后,php升级到了5.5。

回到问题,这两个文件/usr/lib/apache/mod_ruid2.so和/usr/lib/apache/mod_mpm_prefork.so在目录下都不存在,directadmin用不了,咋解决?

.

卸载掉重新装

Label berkaitan:
sumber:php.cn
Kenyataan Laman Web ini
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Tutorial Popular
Lagi>
Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan