Problem to update php in vestacp
I have a server with VestaCp installed correctly with php5.5 by default.
Now want update the version of php to version 5.6 or 7.0
Fisrt step add the repository
sudo add-apt-repository ppa:ondrej/php sudo apt-get update
Great a see php 5.5, php 5.6 and php 7.0
Second step, install php 5.6
sudo apt-get install php5.6 php5.6-common
All great, in console type php -v
Now in vestacp creating a info.php and show the php5.5
In the path /usr/bin
Where is the error?
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.