I am trying to install PHP 4.3.1 on a FreeBSD 4.9 server. When I run 'make install' from the ports collection, I am getting the following error:
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... configure: error: You have enabled Apache 1.3 support while your server is Apache 2. Please use the appropiate switch --with-apxs2
===> Script "configure" failed unexpectedly.
Please report the problem to dirk@FreeBSD.org [maintainer] and attach
the "/usr/ports/www/mod_php4/work/php-4.3.1/config.log" including the
output of the failure of your make command. Also, it might be a good
idea to provide an overview of all packages installed on your system
(e.g. an ls /var/db/pkg
).
*** Error code 1
Stop in /usr/ports/www/mod_php4.
*** Error code 1
Stop in /usr/ports/www/mod_php4.
Any suggestions to correct this problem?