Installing PHP with apache 2.0
| From: | vlal at ideay dot net dot ni | Date: | Sat, 30 Sep 2000 18:21:28 +0000 |
| Subject: | Installing PHP with apache 2.0 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-87@lists.php.net to get a copy of this message | ||
Hi, all
I am installing PHP version 4.02, but I am compiling with apache version
2.0 alpha 6, I am using QUICK INSTALL (Static)
$ gunzip -c apache_1.3.x.tar.gz | tar xf -
$ cd apache_1.3.x
$ ./configure
$ cd ..
$ gunzip -c php-4.0.x.tar.gz | tar xf -
$ cd php-4.0.x
$ ./configure --with./configure --with-apache=../apache_1.3.x
--enable-track-vars
$ make
$ make install
I use to configure en apache the following intruction:
./configure --with-prefix=/usr/local/apache
I use to configure PHP the following intruction:
./configure --with-apache=../apache_2.0alpha6 --with-pgsql
--enable-track-vars --with-gd=/opt/gd-1.8.3
When I execute the make appear the following error
sapi_apache.c:35: ap_compat.h: No such file or directory
make[3]: *** [sapi_apache.lo] Error 1
make[3]: Leaving directory `/opt/php-4.0.2/sapi/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/php-4.0.2/sapi/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/php-4.0.2/sapi'
make: *** [all-recursive] Error 1
how can I do the compilation?
Thanks in advanced,
--
\/_\_
Saludos,
"La Vida"