LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Redhat 7.3 PHP 4.3.4 "upgrade" not compiling (https://www.linuxquestions.org/questions/red-hat-31/redhat-7-3-php-4-3-4-upgrade-not-compiling-152749/)

fatbaldbob 03-02-2004 04:40 PM

Redhat 7.3 PHP 4.3.4 "upgrade" not compiling
 
OK, I have been at this for days now and I need help!

I have a Redhat 7.3 server (fully up2date) running Apache 1.3.23, PHP 4.1.2 & MySQL 3.23.58.

I have been trying to "upgrade" to PHP 4.3.4, but when I run ./configure with all my options I get the following:

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...

Sorry, I was not able to successfully run APXS. Possible reasons:

1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /etc/httpd/bin/apxs follows
apxs:Error: Sorry, no DSO support for Apache available
apxs:Error: under your platform. Make sure the Apache
apxs:Error: module mod-so is compiled into your server
apxs:Error: binary '/etc/httpd/bin/httpd'.
configure: error: Aborting

As far as I can tell (using phpinfo) Apache has got DSO support, apxs IS in my path, and I have Perl 5.6.1 installed (although I'm not sure how to check this - I have a /usr/lib/perl5/5.6.1/ directory.... )

Has anyone any idea how I can install PHP 4.3.4...can I just re-compile Apache, and if so can I upgrade to Apache 1.3.29 at the same time? (without losing all my Apache setup?)

Apologies for all the questions, but I really need to get this working :cry:


All times are GMT -5. The time now is 12:14 PM.