If your website shows errors during uploads or updates (for example, “file exceeds upload_max_filesize”, “Allowed memory size exhausted”, or timeouts), you usually need to increase PHP limits for the domain in Plesk.
What limits can you change in Plesk?
- Website PHP limits (per domain): affect WordPress, CMS, forms, and file uploads through the website.
- Plesk File Manager upload limit: may be different. For large uploads, we recommend using FTP‑SSL instead.
Increase PHP limits for a domain
- Log in to Plesk.
- Go to Websites & Domains and choose your domain.
- Click PHP Settings.
- Adjust the values you need, for example:
memory_limit
upload_max_filesize
post_max_size
max_execution_time
max_input_time
max_input_vars (useful for large forms and page builders)
- Click Apply.
Recommended starting values (WordPress)
| Setting |
Suggested value |
memory_limit | 256M |
upload_max_filesize | 128M |
post_max_size | 128M |
max_execution_time | 120 |
max_input_vars | 3000 |
Tip: increase limits gradually. Extremely high values can hide performance problems and may lead to slow requests.
How to verify the new limits
- WordPress: Tools → Site Health → Info (or try uploading a larger file to Media Library).
- PHP info: create a temporary file
phpinfo.php with <?php phpinfo(); ?> in /httpdocs and open it in a browser (delete the file afterwards).
If the limit still does not change
- Make sure you changed PHP Settings for the same domain that the website uses (primary domain vs domain alias).
- If you use a CMS cache plugin, clear the cache after changes.
- For very large imports/uploads, use FTP‑SSL and split tasks into smaller steps.
Related articles
- Connect to hosting via FTP‑SSL (FTPS) using FileZilla
- phpMyAdmin in Plesk: import/export a database