note 10107 added to Installation on UNIX systems
| From: | rkmr at amnh dot org | Date: | Wed, 13 Dec 2000 23:07:48 +0000 |
| Subject: | note 10107 added to Installation on UNIX systems | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8713@lists.php.net to get a copy of this message | ||
With Apache 1.3.14 and php 3.0.18, I had to alter the php configure script to use src/include
directory in the Apache tree. The diff file is below.
4513,4514c4513,4514
< elif test -f $withval/src/main/httpd.h; then
< APACHE_INCLUDE="-I$withval/src/main -I$withval/src/os/unix -I$withval/src/ap"
---
> elif test -f $withval/src/include/httpd.h; then
> APACHE_INCLUDE="-I$withval/src/include -I$withval/src/os/unix -I$withval/src/ap"
In addition, I had to supply a full path, not a relative path, to the --with-apache switch.
[root@mudpuppy php-3.0.18]# ./configure.custom --with-mysql --with-apache=/home/rkmr/apache_1.3.14
--enable-track-vars
http://www.php.net/manual/install.unix.php