Install a different PHP version

  • Posted December 11, 2014

How can I install a new PHP version different to the current one? if I want to install the latest PHP version is with “sudo apt-get install php5-fpm php5-mysql” but I need to install PHP 5.4.35 due to compatibility issues


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.

Take a look at the Dotdeb repositories. Most complete for latest and properly maintained PHP versions.