#19468 [Opn->Bgs]: Compile failure when I try to install the php-4.2.3 on the FreeBSD4.4
| From: | mfischer@php.net | Date: | Wed, 18 Sep 2002 09:45:56 +0000 |
| Subject: | #19468 [Opn->Bgs]: Compile failure when I try to install the php-4.2.3 on the FreeBSD4.4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19611@lists.php.net to get a copy of this message | ||
ID: 19468
Updated by: mfischer@php.net
Reported By: rose.gao@specialreserve.net
-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 php-general@lists.php.net please.
Previous Comments:
------------------------------------------------------------------------
[2002-09-18 04:34:57] rose.gao@specialreserve.net
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