On Wednesday 10 July 2002 17:25, [EMAIL PROTECTED] 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 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php