Re: Compiling PHP with "--with-apxs"
| From: | Brian Clark | Date: | Sun, 21 Jan 2001 04:09:04 +0000 |
| Subject: | Re: Compiling PHP with "--with-apxs" | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35877@lists.php.net to get a copy of this message | ||
Hello Jero,
(J == "Jero") jero@jeroinc.net writes:
J> checking for Apache module support via DSO through APXS... apxs:Error:
J> Sorry, no DSO support for Apache available
J> apxs:Error: under your platform. Make sure the Apache
J> apxs:Error: module mod_so is compiled into your server
J> apxs:Error: binary `/usr/local/apache/bin/httpd'.
The only time I've ever gotten this error is when there were either
two installations of Apache on the system, or leftovers from a
previous installation (Ie. BSDi (the worst) and RedHat).
Run updatedb if you're on Linux, then do a locate for apxs. If you
find more than one, you need to find out which one belongs to the
currently running httpd.
If all else fails you can backup your web files, cgi-bin,
configuration files, etc. and remove everything that is Apache on the
system. Then do a complete, fresh install of Apache and try building
PHP as a DSO again.
But, I would probably make sure it's not getting confused by the
multiple apxs scripts first.
-Brian