Google Cloud Platform (GCP) Wordpress (Click to Deploy) Easy method to edit the
php.ini file.
Php v7.0
Login to console. Open SSH and input the following commands
memory_limit = 128M
upload_max_filesize=256M
post_max_size=150M
max_execution_time=300
max_input_vars=3000 (recommended)
php.ini file.
Php v7.0
Login to console. Open SSH and input the following commands
memory_limit = 128M
upload_max_filesize=256M
post_max_size=150M
max_execution_time=300
max_input_vars=3000 (recommended)
Sudo Su
sudo nano /etc/php/7.0/apache2/php.ini
Restart Server
sudo service apache2 restart
Last edited: