Google Cloud Platform (GCP) Wordpress (Click-to-Deploy) Increase PHP Memory Limit & Max Upload File Size 2019

PIRATE

Administrator
Feb 27, 2019
3,743
394
83
India
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)


Sudo Su

sudo nano /etc/php/7.0/apache2/php.ini

Restart Server

sudo service apache2 restart
 
Last edited:
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock