On Wed, 2 May 2001, Robert Staph wrote:
>While trying to install php 4.0.5 from source using:
>
>./configure --with-mysql --with-apache=/usr/include/apache --enable-track-vars
You have to point --with-apache to the Apache SOURCES. Not to the install.
If you have installed Apache from e.g. RPM, you can get it to work by
just changing --with-apache to --with-apxs=/full/path/to/apxs
--Jani
>No matter what path I give, I always get back (with the path I gave it as the error):
>
>Configuring SAPI modules
>checking for AOLserver support... no
>checking for Apache module support via DSO through APXS... no
>checking for Apache module support... no
>configure: error: Invalid Apache directory - unable to find httpd.h under
>/usr/include/apache
>
>But, the kicker is, I have the file, its right where I tell the script it is.
>Permissions look ok, read for everyone(rwx for root) all the way to it. I'm running
>the ./configure as root. I am on Redhat 7.0 with apache 1.3.12-25. I have the
>apache, apache-manual, apache-dev, and apache src rpm's installed.
>
>Tried adding the dir in my path, no luck. I can ls in /usr/include/apache and the
>file is right there. I'm out of ideas.
>
>I've tried to install php 4.0.1 and php 4.0.4 from rpm, that works. Try to install
>php-mysql can't find mysql.. yet another oddity because mysql is there, otherwise
>ICRADIUS wouldn't work... but thats another story that no one can help me solve.
>
>[root@guardian /root]# rpm -i php-mysql-4.0.4pl1-9.i386.rpm
>error: failed dependencies:
> mysql is needed by php-mysql-4.0.4pl1-9
> libmysqlclient.so.10 is needed by php-mysql-4.0.4pl1-9
>
>[root@guardian /root]# rpm -qa | grep MySQL
>MySQL-devel-3.23.36-1
>MySQL-client-3.23.36-1
>MySQL-3.23.36-1
>
>All of the above work great if I add the packages to an initial install, but I don't
>have that option at this time.
>
>
>
>Robert Staph, W3RCS
>The Center for Advanced Technologies
>
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]