RE: [PHP-INST] reinstalling

From: Date: Tue, 02 Jul 2002 15:12:41 +0000
Subject: RE: [PHP-INST] reinstalling
Groups: php.install 
Request: Send a blank email to php-install+get-7582@lists.php.net to get a copy of this message
> From: Angelo Marcos Rigo > Sent: Tuesday, July 02, 2002 10:46 AM > To: php-install@lists.php.net > 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.

« previous php.install (#7582) next »