multiple PHP version and keep them updated

  • Posted February 5, 2015


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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@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.