hi,i installed a new centOS 5 server, and after the installation, everything seem to work well but for httpd not running. when i try to issue the restart command i get the following error:
[root@appdev ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/httpd/modules/libphp5.so into server: /usr/lib/httpd/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
[FAILED]
please can any one help?
httpd not running
Re: httpd not running
Did you install PHP from original CentOS RPM packages? Have you updated your system? What's the output from:
[code]rpm -qa 'php*'
rpm -V php
[/code]
[code]rpm -qa 'php*'
rpm -V php
[/code]
Re: httpd not running
Hi,
The same errror message as prevous user.
=======================================================================================================
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 16 of /etc/httpd/conf/httpd.conf: Cap5.so: cannot open shared object file: No such file or directory
[root@vps2385 /]# service httpd start
Starting httpd: httpd: Syntax error on line 16 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory
=======================================================================================================
I tried use command as you advise:--
rpm -qa 'php*'
rpm -V php
Below is the result:-
=======================
[root@vps2385 /]# rpm -qa 'php*'
[root@vps2385 /]# rpm -V php
package php is not installed
=======================
Please help me.
The same errror message as prevous user.
=======================================================================================================
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 16 of /etc/httpd/conf/httpd.conf: Cap5.so: cannot open shared object file: No such file or directory
[root@vps2385 /]# service httpd start
Starting httpd: httpd: Syntax error on line 16 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory
=======================================================================================================
I tried use command as you advise:--
rpm -qa 'php*'
rpm -V php
Below is the result:-
=======================
[root@vps2385 /]# rpm -qa 'php*'
[root@vps2385 /]# rpm -V php
package php is not installed
=======================
Please help me.
httpd not running
well install php via yum
[code]yum install php[/code]
[code]yum install php[/code]