I am currently trying to install Magento 2 on a server running php 5.4 and Plesk 12.5. My hosting company advises against upgrading the php version to support Magento 2 since it could potentially break Plesk. Instead they recommended to use Plesk's native support for multiple versions of PHP.
With Plesk I setup and installed PHP 5.6.14 to support Magento 2. I ran a test and the 5.6.14 is running fine on the domain I selected. However, running composer install still detects the older version of php since it is the server default.
Does anyone have any experience getting around this issue? All of the PHP files detect and run the updated version of PHP but composer install script and even just running php -v detects the outdated version of PHP.
How could I get Magento 2 up and running on this server?
Thanks