multiple PHP version and keep them updated

February 5, 2015 1.3k views


I would like to have multiple php versions on my Ubuntu 14.04 server the defult 5.5 and 5.6 but how can i keep them both updated to the tales version? do i need to rebuild php 5.6 every time?

2 Answers

@tokar93 go to You CAN have multiple PHP versions running.

You can't. Only 1 php version can be running at a time.
In order to run a different php version you have to first configure the webserver for it and then reload.
Then the old version is no longer running.
You should always use the latest version.
If you are trying to hold on to mysql_connect(), don't. It's dead, let it die.

Have another answer? Share your knowledge.