Results 1 to 2 of 2
I was wondering if anyone can help me with a problem I am having installing PHP 5 on my CentOS server? I followed the install instructions PHP provides to no ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-20-2007 #1
- Join Date
- May 2007
Installing PHP 5
I followed the install instructions PHP provides to no avail. I get this error when trying to start httpd:
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: sapi_globals
- 05-21-2007 #2
I'm not specifically familiar with CentOS's arrangement, but it's an RPM distribution, so you can use the RPM database to check for corruption.
The rpm -V command tests an installed package for changes or corruption. The rpm -qa command lists all installed RPMs that match the argument. You can combine these to test all of your installed PHP RPMs like this. If all is well, you will get no output. If any file is changed in any way, it will be listed with a code that says how it was changed.Code:
rpm -V $(rpm -qa '*php*')Code:
rpm -V $(rpm -qa '*apache*')