I created a LAMP stack instance on Google Cloud Platform, launched with PHP 7.0, I need Laravel installed so I installed PHP 7.2 from the SSH console (debian).
While using php -v
it shows that the current installed version is 7.2 while the vm instance informations shows that it's still using 7.0 instead and also the Laravel script is not working because I suppose PHP 7.0 is still in use.
I already found ways on how to require using a different version on App Engine, but I need this for Compute Engine (LAMP stack on debian 9).
Thanks.