note 24506 added to install.linux
| From: | kulinp at hotmail dot com | Date: | Mon, 19 Aug 2002 21:46:43 +0000 |
| Subject: | note 24506 added to install.linux | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35222@lists.php.net to get a copy of this message | ||
I downloaded and installed apache 2.0.39, mysql (the 3.xx.51 build), both of which work and also
downloaded the PHP4.2.2 tar.gz. Apache and mysql work fine. However when I try to build and install
php from source using ./configure, it does some initial building and then gives the error
"httpd.h not found". I know that this file does exist in the apache ../include directory.
I am using the following options with ./configure:
./configure --with-apache=/mypath/to/apache --with-mysql=/mypath/to/mysql
which is when this error comes up. Also I want to configure it as a dynamic module (DSO), and
i've heard you have to do this with --with-apxs=/mypath/to/apxs, which i tried without success.
It also says that you cannot use the --with-apache and the --with-apxs together.
Any ideas as to how I should proceed? mod_so is installed so DSO should be possible.
Thanks in advance...
--
http://www.php.net/manual/en/install.linux.php
http://master.php.net/manage/user-notes.php?action=edit+24506
http://master.php.net/manage/user-notes.php?action=delete+24506
http://master.php.net/manage/user-notes.php?action=reject+24506