[PHP] Compiling PHP with "--with-apxs"
Hello, I am trying to compile PHP with the option "--with-apxs" to be able to use 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Compiling PHP with "--with-apxs"
Hello Jero, (J == "Jero") [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]