Re: What am I doing wrong?

From: Date: Wed, 02 May 2001 20:47:56 +0000
Subject: Re: What am I doing wrong?
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2984@lists.php.net to get a copy of this message
You might need to install Apache from source too. I'm not sure, don't like Redhat. I know the MySQL RPM on the cd has u HUGE bug.. perhaps this is also causing you one or two problems.. not sure. uhm.. it's --with-mysql=/path/to/mysql not --with-mysql Apache 1.3.12 you say.... thats pretty old.. current is 1.3.19 Don't these redcrap boys ever keep their RPM's up to date?? I'm always untarring apache then run a ./configure --prefix=/path/where/i/want/apache Then I start compiling PHP. More info on how to compile these together.. www.devhed.com Bye, B. At 16:08 2-5-01 -0400, 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 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


« previous php.install (#2984) next »