Hmmm. I think I screwed up - I am using Apache 2.0.16, and I guess I thought they'd work the same - in 2.0.16, it's "enable-module" - I used it, and it worked. I should have tried it on 1.3xxx first, sorry....JP BTW, where do I actually put the "php.ini" file - it says in "/usr/local/lib", but it doesn't seem to have any effect there.... Sorry to be such a pain.....JP -----Original Message----- From: Bug Database [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 3:30 PM To: [EMAIL PROTECTED] Subject: Bug #12412 Updated: Installation on Apache Server ID: 12412 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Documentation problem Operating System: all PHP Version: 4.0.6 New Comment: I am not sure what you are talking about. There is no libs directory and it is definitely --activate-module you need to use when you use PHP's --with-apache flag. Just to make sure I wasn't wrong I grabbed the latest Apache tarball (1.3.20) and tried it. You configure PHP using --with-apache=/some/path/apache_1.3.20 make make install Then in the Apache dir you do: [root@rasmus apache_1.3.20]# ./configure --activate-module=src/modules/php4/libphp4.a Configuring for Apache, Version 1.3.20 + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o php4_module uses ConfigStart/End + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/lib/expat-lite Creating Makefile in src/modules/standard Creating Makefile in src/modules/php4 Works perfectly and is exactly as documented. Previous Comments: ------------------------------------------------------------------------ [2001-07-26 18:15:13] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=12412&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]