Jump to content

installing PHP, Apache + Linux are there


Recommended Posts

Im installing PHP on server with Apache 1.3.19 and SuSe Linux, but when i try to do

[b]./configure --with-apache=/usr/local/httpd ( ServerRoot in httpd.conf) --with-mysql[/b]

it exits with error:

[b]configure: error: Invalid Apache directory - unable to find httpd.h under /usr/local/httpd[/b]

Whats wrong?
Link to comment
https://forums.phpfreaks.com/topic/14565-installing-php-apache-linux-are-there/
Share on other sites

You should find that whre is "httpd.h" in your server. If you find path directory of this file, you should --with-apache=path/to/httpd ( httpd.h = httpd : don't put surname) .
I have to told you more about path directory is not always as same as ServerRoot. I use Fedora Core 4, when I configure, I use --with-apxs2=/usr/local/apache/bin/apxs but my ServerRoot is /usr/local/apache .

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.