Question

multiple PHP version and keep them updated

Posted February 5, 2015 3.4k views

Hi

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?

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.

×
2 answers

@tokar93 go to https://serverpilot.io 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.

Submit an Answer