Jump to content

Hi, I have a VPS server that I am trying to install a symfony project on. The Operating System is CentOS 6.9 (Final)‬ I have Plesk Onyx 17.0.17 installed. The PHP version that I need for the project that I am installing is 7.1.4 but my PHP CLI version is 5.3.3. I have tried to use the # /opt/plesk/php/7.0/bin/php yourscript.php command like suggested from Plesk Forums but it doesn't work with commands such as composer install.

 

Does anyone have the instructions on changing the default PHP Version for cli on my OS

 

Thanks

 

 
Link to comment
https://linustechtips.com/topic/770024-change-php-cli-version/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×