Question

multiple PHP version and keep them updated

  • Posted on February 5, 2015
  • tokar93Asked by tokar93

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?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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