apache 2.x.x
| From: | Tyler Longren | Date: | Thu, 08 Nov 2001 22:21:16 +0000 |
| Subject: | apache 2.x.x | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73960@lists.php.net to get a copy of this message | ||
Hello,
Here's the method I usually use for compiling php and apache 1.3.x together.
Is there any reason this shouldn't work with apache 2.x.x?
1. tar xfz apache-x.x.xx.tar.gz
2. cd apache-x.x.xx
3. ./configure --prefix=/usr/local/apache --enable-module=so
4. make
5. make install
6. cd ..
7. tar xfz php-x.x.x.tar.gz
8. cd php-x.x.x
9.
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --disable-de
bug --enable-track-vars --with-ftp --with-xml
10. make
11. make install
12. uncomment the lines for PHP in httpd.conf (something like this: AddType
application/x-httpd-php .php)
13. /usr/local/apache/bin/apachectl start
Thanks all,
Tyler Longren