Mac OS X Version 10.2.8
Apache 1.3.29
PHP 4.3.4
I have read several tutorials on installing PHP on Mac OS X. However, I still get an error when trying to install PHP on my computer.
I have configured Apache as:
This all works fine. However when I try to configure PHP:
I get the following error:
The problem is indeed DSO support. When I execute:
I don't get the mod_so file listed. And that is weird, because the way I configured Apache, it should be compiled with Apache. I even get a message that mod_so is added during the execution of the configuration script.
Does anyone know what I am doing wrong here?
Apache 1.3.29
PHP 4.3.4
I have read several tutorials on installing PHP on Mac OS X. However, I still get an error when trying to install PHP on my computer.
I have configured Apache as:
Code:
./configure --prefix=/usr/local/apache --enable-module=most --enable-shared=max
This all works fine. However when I try to configure PHP:
Code:
./configure --with-xml --with-mysql --with-zlib --with-apxs=/usr/sbin/apxs
I get the following error:
Code:
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 /usr/sbin/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 `/usr/sbin/httpd'.
configure: error: Aborting
The problem is indeed DSO support. When I execute:
Code:
httpd -l
I don't get the mod_so file listed. And that is weird, because the way I configured Apache, it should be compiled with Apache. I even get a message that mod_so is added during the execution of the configuration script.
Does anyone know what I am doing wrong here?