good morning,
I follow the above steps for upgrade php.
I tried to reload httpd and I get:
[root@content /]# httpd restart
Syntax error on line 138 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: undefined symbol: xmlSchemaFreeValidCtxt
Here is line 138
LoadModule php5_module /usr/lib/apache/libphp5.so
Here were my steps
1. mkdir /installs/php
2. cd /installs/php
3. downloaded all the RPMs from
http://ergin.dyndns.org/download/RPMS/contribs/php/php504_experimental/4. rpm -Uvh *.rpm
5. had to install 4 extra libraries (rpm's listed below)
libmcrypt-2.5.7-1.dag.rh73.i386.rpm postgresql-7.2.4-5.73.i386.rpm
libmhash-0.9.1-1.rh73.dag.i386.rpm postgresql-libs-7.2.1-5.i386.rpm
6. rpm -Uvh *.rpm (everything installed)
7. updated /etc/httpd/conf/httpd.conf
In order to test modify your httpd.conf and change
LoadModule php4_module /usr/lib/apache/libphp4.so
TO
LoadModule php4_module /usr/lib/apache/libphp5.so
AddModule mod_php4.c
TO
AddModule mod_php5.c
8. cd /etc
9. mv php.ini php.ini.old
10. mv php.ini.rpmnew php.ini
11. /sbin/e-smith/signal-event reboot
12. httpd restart, and then I get the same error message listed above.
1 thing I do not understand was this
I don't know why that happens, my best guess is if you have libxm2 installed...
Check this thread from Zend
http://www.zend.com/lists/php-dev/200310/msg00049.html
It would appear to be a patch and it seems like my missing information. Any Ideas?