Compiling PHP with "--with-apxs"
| From: | Jero | Date: | Fri, 19 Jan 2001 19:39:56 +0000 |
| Subject: | Compiling PHP with "--with-apxs" | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35835@lists.php.net to get a copy of this message | ||
Hello,
I am trying to compile PHP with the option "--with-apxs" to be able touse both PHP 3 and PHP 4 on the same server.Unfortunately, if I try to use configure with that option ./configure --with-mysql=../mysql --with-ldap=/usr --with-apache=../apache --enable-track-var --with-imap=../imap-4.7 --enable-versioning --with-apxs=/usr/local/apache/bin/apxs I keep getting this error... checking for Apache module support via DSO through APXS... 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 `/usr/local/apache/bin/httpd'. I did a "httpd -l" and it showed mod_so in the httpd . It gave me this warning at the end.... WARNING: Your /usr/local/apache/bin/apxs script is most likely broken. Please go read http://www.php.net/FAQ.php3#6.11 and make the changes described there and try again. Tried the changes it gave, had no success with them. Thanks for any help! Sincerely, Jero