Jump to content

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 .
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.