Jump to content


Photo

installing PHP, Apache + Linux are there


  • Please log in to reply
2 replies to this topic

#1 backy007

backy007
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 14 July 2006 - 08:13 AM

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

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

it exits with error:

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

Whats wrong?

#2 superalpha

superalpha
  • New Members
  • Pip
  • Newbie
  • 8 posts

Posted 14 July 2006 - 12:19 PM

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 .

#3 backy007

backy007
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 14 July 2006 - 01:16 PM

I have found several httpd.h, but no one from them is right... ???




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users