Updating wordpress php max_file_size

Hello,

Im trying to increase the max_file_size and upload file size for wordpress but I can't find it on the VM instances. Tried also using the ssh but its saying not found.

 

Any advice please...

Thank you

0 1 144
1 REPLY 1

Hi @fearRacious,

Welcome to Google Cloud Community!

To increase WordPress max file size:

  1. Access your server (control panel or SSH).
  2. Find the correct configuration file: php.ini in root directory (shared hosting) or /etc/php/... (VPS/dedicated).
  3. Edit the file and increase upload_max_filesize and post_max_size values.
  4. Save changes and restart web server (if needed).
  5. Check WordPress settings and contact your host if unsure.