PHP Values required for Wordpress installs

Prev Next

If you see an error like “The uploaded file exceeds the upload size” when adding a theme or plugin, you just need to raise a couple of PHP limits for your site.

Use cPanel (no files to upload)

  1. Log in to cPanel.

  2. Go to Software → MultiPHP INI Editor.

  3. Select your domain and set:

    • upload_max_filesize: 64M (or the smallest value that fits your file)

    • post_max_size: 64M (must be ≥ upload_max_filesize). This can be larger than upload_max_filesize if required, but must at least be equal to upload_max_filesize.

  4. Click Save.

    Tip: Don’t set these excessively high. Very large values can waste resources or be abused.