Increase PHP limits in Plesk (upload size, memory, execution time)
- 20.02.2026 00:57
-
- performance
- php
- plesk
If your website shows errors like “The uploaded file exceeds the upload_max_filesize directive in php.ini”, “Allowed memory size exhausted”, “Request Entity Too Large”, or uploads/updates fail with timeouts, increase the PHP limits for your domain in Plesk.
Open PHP settings for your domain
- Log in to Plesk (via My.GARMTECH → your hosting service → Login to Plesk).
- Go to Websites & Domains → your domain → PHP Settings.
Which limits to change
- upload_max_filesize – maximum size of a single uploaded file.
- post_max_size – maximum size of the whole request; must be equal to or higher than upload_max_filesize.
- memory_limit – PHP memory limit (imports, WordPress updates, large plugins).
- max_execution_time / max_input_time – script runtime limits (restores, imports).
- max_input_vars – useful for large forms and page builders.
Recommended starting values (WordPress)
Copy and adjust to your needs:
upload_max_filesize = 128M
post_max_size = 128M
memory_limit = 256M
max_execution_time = 300
max_input_time = 300
max_input_vars = 5000
Click Apply (or OK) to save. Changes take effect within a minute.
Good to know
- Plesk File Manager upload limit is separate. For very large files, upload via FTP‑SSL instead.
- If the values are capped by the hosting plan, higher numbers will not apply – contact support or consider a plan upgrade.
- Custom values can also be set per directory with .user.ini.
Related Articles
Comments
Add Comment