Hello All,
I have PHP 4.2.2 already installed on RedHat Linux 7.x .
I needed to get XSLT support, so I tried to upgrade PHP into 4.3.8 & recompile with new configure options :
'./configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-png' '--with-openssl' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--enable-ucd-snmp-hack' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--enable-xslt' '--with-xslt-sablot' --with-db4
Please notice that I removed '--with-apxs' , while I didn't find the correct path for it.
Anyway I installed the needed RPMs, so ./configure, make and make insall, all of them went well with no errors.
Then I rebooted Apache, & tried to check phpinfo ...
It's still giving 4.2.2 with the old configure options !!!!!!!!!
What is my problem ?
Actually I don't know wether my old PHP is installed as Dynamic or Static Apache module ?
Why PHP upgrade doesn't get affect ?
I checked my httpd.conf & it contains this line :
AddType application/x-httpd-php .php
Then I added :
LoadModule php4_module modules/libphp4.so
When I rebooted Apache I got ..
[warn] module php4_module is already loaded, skipping
[ OK ]
So I removed it.
What is my fault ? Why I couldn't get PHP upgraded ??
Thanks in Advance,
Aboud.