Bug #12412: Installation on Apache Server
| From: | jpharrison at newedgenetworks dot com | Date: | Thu, 26 Jul 2001 22:15:13 +0000 |
| Subject: | Bug #12412: Installation on Apache Server | ||
| Groups: | php.dev php.doc | ||
| Request: | Send a blank email to php-dev+get-61121@lists.php.net to get a copy of this message | ||
From: jpharrison@newedgenetworks.com
Operating system: all
PHP version: 4.0.6
PHP Bug Type: Documentation problem
Bug description: Installation on Apache Server
Here's what the docs say:
---------------------------------
Details of installing PHP with Apache on Unix.
You can select arguments to add to the configure on line 8 below from the
Complete list of configure options.
Example 2-5. Installation Instructions (Apache Module Version)
1. gunzip apache_1.3.x.tar.gz
2. tar xvf apache_1.3.x.tar
3. gunzip php-x.x.x.tar.gz
4. tar xvf php-x.x.x.tar
5. cd apache_1.3.x
6. ./configure --prefix=/www
7. cd ../php-x.x.x
8. ./configure --with-mysql --with-apache=../apache_1.3.x
--enable-track-vars
9. make
10. make install
11. cd ../apache_1.3.x
12. for PHP 3: ./configure --activate-module=src/modules/php3/libphp3.a
for PHP 4: ./configure --activate-module=src/modules/php4/libphp4.a
13. make
14. make install
---------------------------
But in fact the Apache configuration requires (to add
a module) "enable-module" (not "activate-module").
Also, the PHP module "libphp4.a" is found one directory
below (in "libs"), not where it's shown.
Minor, but significant......JP Harrison
--
Edit bug report at: http://bugs.php.net/?id=12412&edit=1