Upgrading from PHP4 RPMs to PHP5 from source

From: Date: Mon, 30 Aug 2004 19:00:46 +0000
Subject: Upgrading from PHP4 RPMs to PHP5 from source
Groups: php.install 
Request: Send a blank email to php-install+get-14258@lists.php.net to get a copy of this message
It seems like this would be a FAQ, but I haven't found an answer in the FAQ, the archives, Google, etc. I have a new server on which I've installed Fedora Core 2. This is just a small server on which I will host a few small mailing lists and web sites. Mostly it is a platform that I will use to learn PHP, and PHP5 seems like a good place to start for a C++ OOP programmer. My questions are what the procedure is for installing PHP5 from source on a system that has Apache2 and PHP 4.3.8 installed from RPMs (as part of the OS install)? Can I use the default (i.e. RPM) version of Apache or do I need to install it from source? I'm aware of the warnings against Apache2 in a production environment, so we can ignore that issue for now. Do I need to uninstall the PHP 4.3.8 RPMs? If I do, will I run into dependency issues down the road when other packages are updated? Or can I leave the existing PHP stuff alone and just point to the new PHP in my Apache config files? I'm something of a Linux newbie, but less so every day. Thanks for any help you can provide.

« previous php.install (#14258) next »