How do I upgrade from PHP 7.0 to 8.1 on google cloud platform?
I have a WordPress site running on google Cloud on PHP 7. I want to update php to latest 8.1
So how can i update it on current running GCP.
You can update php in GCp via following commands
sudo apt-get update sudo apt-get install php7.3-mysql sudo a2enmod php7.3 sudo a2dismod php7.0 sudo systemctl restart apache2