php 5.0.3 in httpd 2.0.52
| From: | bone | Date: | Mon, 24 Jan 2005 13:20:52 +0000 |
| Subject: | php 5.0.3 in httpd 2.0.52 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-207199@lists.php.net to get a copy of this message | ||
Hi there,
Originally, I installed php 5.0.3 and httpd 2.0.51, it's fine, but when I
upgrade httpd to 2.0.52, php doesn't work, I try to re-configure php, got
errors below,
****************************************************
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/sbin/apxs follows:
sh: line 1: /usr/sbin/envvars: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/sbin/httpd'..
configure: error: Aborting
error: Bad exit status from /var/tmp/rpm-tmp.30018 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.30018 (%build)
****************************************************
I check phpinfo(), the configure '--with-apxs2=/usr/sbin/apxs' , how can I
solve this problem
Thanks a lot.
--
********************
¹ù½«©ú
http://www.bone.idv.tw
********************