I've had an issue for quite a while now that I don't know how to fix.
I'm running a VPS with Ubuntu 12.04 LTS, it has the latest version of Plesk (12.0.18 Update #34). Annoyingly, it only has PHP version 5.3.10 which is too old. I thought it would be fairly simple to update PHP - but it turns out it's not for some reason?
I've tried doing the following:
sudo apt-get update
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php5
sudo apt-get update
sudo apt-get upgrade
and then running:
/usr/local/psa/bin/php_handler --add -displayname php-5.6.2 -path /usr/bin/php5-cgi -phpini /etc/php5/fpm/php.ini -type fastcgi -id 2
I then go to hosting settings and select the new version of PHP, however nothing happens at all, the phpinfo() still reports running PHP version 5.3.10.
How do I get a better PHP version to work with Plesk?