Install a different PHP version

December 11, 2014 2.3k 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

1 Answer

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

Have another answer? Share your knowledge.