> From: Angelo Marcos Rigo
> Sent: Tuesday, July 02, 2002 10:46 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] reinstalling
> I need to reinstall apache without loosing my actually php
>  configuration.       how can it be done?

Unix answer: Depends on how you installed php.  If php is a DSO module (i.e. 
libphp4.so -- php built with --with-apxs=/path/to/apache/bin), then you can simply 
rebuild Apache.  If php is compiled into Apache, then:
1. save the config.status from apache somewhere
2. load your new apache sources
3. copy config.status into the apache source directory 
4. instead of using ./configure  use ./config.status
5. make, and make install. 

Apache will preserve your httpd.conf settings.

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to