recompile php/upgrade apache

2003-08-14 Thread Redmond Militante
hi all

i have a production server running
freebsd4.8-RELEASE/apache1.3.27-modssl/mod_php4

i would like to recompile php4 for gdlib support.  i'd also like to
upgrade apache to 1.3.28.  i'd like to have minimal downtime if
possible.

i was thinking the easiest way of doing this was to

stop apache
backup httpd.conf and php.ini-dist
portupgrade -rR apache13-modssl
make deinstall /usr/ports/lang/php4, make install clean
/usr/ports/lang/php4 with gdlib support
restart apache

i just wanted to run this past the list in case i'm missing something
above, or if anyone can suggest a more efficient way of accomplishing
this

thanks
redmond


pgp0.pgp
Description: PGP signature


Re: recompile php/upgrade apache

2003-08-14 Thread Jez Hancock
On Thu, Aug 07, 2003 at 09:28:20AM -0500, Redmond Militante wrote:
 i have a production server running
 freebsd4.8-RELEASE/apache1.3.27-modssl/mod_php4
 
 i would like to recompile php4 for gdlib support.  i'd also like to
 upgrade apache to 1.3.28.  i'd like to have minimal downtime if
 possible.
I believe you can get away with not stopping the server at all.  Since
apache is running in memory, you can easily upgrade it (and php) whilst
it's still running and when you've finished upgrading just issue an
'apachectl restart' and the new binaries will be in effect.
-- 
Jez

http://www.munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]