View Full Version : [ubuntu] PHP Upgrade\Installation

June 16th, 2009, 01:08 PM
Hey everyone!

Long ago I've installed php using these commands:

sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
However, it installed AN OUTDATED version of php, I would like to compile the newest version from php.net [I already know how to do this], my questions are:

When using the ./configure command, in case i'm just typing ../configure without adding --prefix or any similar attribute, is it going to use the default options? [such as apt-get uses?]
How do I delete the previous php version?
How can I trace the installation of the new php? [I mean, in case I want to upgrade, how will I remove the php binaries that i'm going to compile now?]

Thanks from advance!