ID: 19468 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: FreeBSD4.4 PHP Version: 4.2.3 New Comment:
-with-apache is for apache 1.x only, you need --with-apxs2 for apache2. And, just in case 4.2.3 doesn't compile with 2.0.40, you would need latest PHP unstable from snaps.php.net too. Next time ask on [EMAIL PROTECTED] please. Previous Comments: ------------------------------------------------------------------------ [2002-09-18 04:34:57] [EMAIL PROTECTED] I try to install the php-4.2.3 on the FreeBSD4.4. What I have done is: 1) installing Apach2.0 under /usr/local/include 2) downloading the php4.2.3 under usr/local/include 3) modifying the relevant script according to the patch files. When I compile the php using following command under the usr/lical/include/php-4.2.3: ./configure --with-mysql --with-apache=../apache_2.0--enable-track-vars The compile is failed. The error is: Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no configure: error: Invalid Apache directory - unable to find httpd.h under /usr/local/apache2.0 The httpd.h definitely exist under the apache2.0. Can you help me. Thank you. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19468&edit=1