Bug #3334: Module compilation instructions confusing

From: Date: Fri, 28 Jan 2000 01:48:26 +0000
Subject: Bug #3334: Module compilation instructions confusing
Groups: php.dev 
Request: Send a blank email to php-dev+get-14969@lists.php.net to get a copy of this message
From: donald.g.park@iname.com Operating system: Redhat 6.1 PHP version: 3.0.14 PHP Bug Type: Documentation problem Bug description: Module compilation instructions confusing The INSTALL doc file has a good quick reference for compiling Apache and PHP with static support. I tried to get it compiled with module support and ran around in circles because the INSTALL doc is not as clear as it could be. The section that describes the --with-apxs flag makes it sound as if one still needed to use the steps in the static build listed at the very start. Replacing --with-apache with --with-apxs and the going to rebuild apache as the further steps indicate, will give you an apache that doesnt support modules. how to fix: 1. rename QUICK INSTALL to QUICK INSTALL for Compiled-In PHP module (or statically linked PHP module or whatever) 2. make a new QUICK INSTALL using DSO/Loadable apache modules All the contents have to say is untar apache configure --enable-shared=max ; make; make install untar php configure --with-myphp --with-apxs --enable-track-vars make make install and thats it! I did not realize that the php make install with apxs was already putting the loadable php module in the right place. I went back to the apache config/install steps from the QUICK INSTALL section and the new httpd server bombs because its not setup for dynamic loadable modules. (this is with PHP4b3, the bug form doesn't have an option for PHP4)

« previous php.dev (#14969) next »