Compiling new modules in PHP - required to remove old installation?
| From: | Terence | Date: | Thu, 01 Apr 2004 09:19:57 +0000 |
| Subject: | Compiling new modules in PHP - required to remove old installation? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182001@lists.php.net to get a copy of this message | ||
I currently follow the following steps when I need to compile a new module
in PHP:
1) Delete old source folders for APACHE and PHP (/usr/local/src)
2) Stop APACHE service
3) Delete the installation directories (/usr/local/apache /usr/local/php4)
4) Re-configure APACHE
5) Re-configure PHP; make; make install
6) APACHE make and make install
7) Copy the original httpd.conf file to the installation directory
(/usr/local/apache/conf/)
8) Start apache
Then all works fine. If I leave out any of the above steps, the
re-compilation doesnt work. Is there an easier way or do I need to do this
each time? (process takes about 30mins each time)
Running RH9
Thanks