Re: PHP 4.2.1 / Apache

From: Date: Wed, 10 Jul 2002 09:32:47 +0000
Subject: Re: PHP 4.2.1 / Apache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-106735@lists.php.net to get a copy of this message
On Wednesday 10 July 2002 17:25, DSteculorum@xlserv.com wrote: > HELLO, > > I just installed PHP 4.2.1. I am using a Redhat 7.3, installed as server > with Apache. > > My problem is I can t compile it as a module for Apache : > > ./configure --with-apache=/usr/include/apache > > configure: error: Invalid Apache directory - unable to find httpd.h under > /usr/include/apache > > > > But hhtpd.h is really under /usr/inclu/apache > [root@localhost php-4.2.1]# slocate httpd.h > /usr/include/apache/httpd.h Try: --with-apache=/usr/include OR --with-apache=/usr But you're better off using apxs instead: --with-apxs=/usr/local/apache/bin/apxs Obviously the path to apxs on your system may differ. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Necessity has no law. -- St. Augustine */

« previous php.general (#106735) next »