You never use --with-apxs2 and --with-apache at the same time. In fact, for Apache2 only --with-apxs is valid.
On Fri, 5 Jul 2002, Desmond Lee wrote: > Hello everyone > > I installed apache 2 and then installed mysql by following the instructions > (modified to set up apache 2) that were on the http://www.e-gineer.com/ > site. > > So far so good. Apache works and mysql works. I think I configured apache > with the --enable-module=so option ( is there anyways to check just to be > sure ). > > So, i got the php source files then untared them. But when i run the > ./config i get the following error message: > > >./configure --with-apxs2=/usr/local/etc/httpd/bin/apxs > >--with-mysql=/usr/local/mysql --with-config-file-path=/www/conf > >--with-apache=/usr/local/etc/httpd --enable-track-vars --enable-trans-sid > > error message: > 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/etc/httpd > > > I don't really know why it can't find the httpd.h file? It is not in the > /usr/local/etc/httpd directory where apache was installed. I treid to search > for the httpd.h file by doing 'find . httpd.h' in the /usr/local/httpd dir > but i didn't get anything. > > Can anyone help please? > > Thanks a bunch > > Desmond > > _________________________________________________________________ > Join the world�s largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
