php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19468 Compile failure when I try to install the php-4.2.3 on the FreeBSD4.4
Submitted: 2002-09-18 04:34 UTC Modified: 2002-09-18 04:45 UTC
From: rose dot gao at specialreserve dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.2.3 OS: FreeBSD4.4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rose dot gao at specialreserve dot net
New email:
PHP Version: OS:

 

 [2002-09-18 04:34 UTC] rose dot gao at specialreserve dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-18 04:45 UTC] mfischer@php.net
-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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 15:01:28 2024 UTC