Hi. I'm trying to upgrade my libphp4.so from version 4.2.2 to 4.3.9
I am running Linux RedHat 9.0 with an apache 2.0 webserver.
./configure seems to run ok (I think!) and when I do make , make test and then make install , it builds and installs the executable and the SAPI stuff ok, however I want to use the so rather than the SAPI stuff - and it doesn't build the .so! There isn't even anything in the auto-generated makefiles to build the shared object. I am obviously doing something wrong. Here is exactly what I am doing, starting with the tar file, logged in as root (I know I've included absolutely everything I'm doing, but better than than too little information!).
mkdir PHP-4.3.9 (In /root/software - a directory I have created for playing around with new installations so as to not bugger up existing stuff that works!)
cd PHP-4.3.9
mv /mnt/usb/php-4.3.9.tar.gz .
tar -xvzf php-4.3.9.tar.gz
the php-4.3.9 sub-directory is created ok
cd php-4.3.9
./configure --enable-static I think this is right to force it to build the static libraries?
Much blurb produced - I can post it all if someone would like to see it!
make
make test
make install
At this point, all the SAPI stuff is built, as is the php executable. For example, if I now enter echo '<?php print(phpversion()."\n"); ?>' | php at the command prompt, I get "4.3.9" as the returned string (excellent), however it doesn't seem to have built a nice shiny new 4.3.9 version of libphp4.so anywhere! (the webserver still points to a 4.2.2 version in /etc/httpd/modules). In addition, when I do a find / | grep libphp the only shared object file that is found is the 4.2.2 file in /etc/httpd/modules.
I am flummoxed. Any help would be much appreciated! I'm sure it's something irritatingly simple that I need to do!
Thanks,
Mike.