Report this

What is the reason for this report?

multiple PHP version and keep them updated

Posted on February 5, 2015

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?



This textbox defaults to using Markdown to format your 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.

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.

@tokar93 go to https://serverpilot.io You CAN have multiple PHP versions running.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.