Click to See Complete Forum and Search --> : php ./configure problem


Anon
11-13-2000, 02:08 AM
hi, can someone help me with this? i've downloaded the latest copy of php-4.0.3pl1 and apache-1.3.14

i unpacked them into /tmp/src/apache_... and /tmp/src/php-...

when i do a ./configure --with-apache=../apache_1.3.14 in the php directory

i get a configure error:
"Invalid Apache Directory:unable to find httpd.h in /tmp/src/apache_1.3.14/apache_1.3.14

but when i use --with-apache=/src/tmp/apache_1.3.14 i can configure and compile it.

can someone tell me if there's a difference between using the ../apache_1.3.14 and using the hard path /tmp/src/...

i want to know cos I'm having a real hard time installing some of the third party packages like freetds and inline's tds odbc. everytime i try to configure/compile i get some weird errors.

nothing i tried seems to have worked. i don't know if it's the apache/php4 problem or the 3rd party package problem

help please

Anon
11-13-2000, 03:17 AM
Well what you're typing looks correct, are you sure you're running it from the correct directory, looks to me like you might be trying to run this command from a directory inside apache_1.3.14 hench the doubled "apache_1.3.14" in the statement: "/tmp/src/apache_1.3.14/apache_1.3.14"

Make sure you are running everything from the correct path.

I know it sounds kinda dumb but hey we've all done it at one time or another.

For a laugh try ../../src/apache_1.3.14 and see if that works.