Install a different PHP version

Posted December 11, 2014 2.8k views

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

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.

Submit an Answer
1 answer

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