- Plesk for Linux
When uploading a file via Plesk File Manager, one of the following error messages appears:
PLESK_ERROR: The file "picture.jpg" is too big. Try to upload this file via FTP.
PLESK_ERROR: No upload response
Cannot upload files in applications, e.g WordPress, Joomla, etc:
PLESK_INFO: The uploaded file exceeds the upload_max_filesize directive in php.ini
Extension update fails, e.g Joomla:
CONFIG_TEXT: An error has occurred uploading this file to the server.
The maximum allowed size of PHP to upload files is too low: This is configured from the PHP directives 'upload_max_filesize' and 'post_max_size' (locatable and configurable in your file 'php.ini' or '.htaccess').
Unable to find the installation package
In some cases, the following error messages might appear in
CONFIG_TEXT: PHP Warning: POST Content-Length of 90378782 bytes exceeds the limit of 67108864 bytes in Unknown on line 0
ERR (3) [panel]: Forgery protection token check failed.
ERR (3) [panel]: Permission denied.#0
Low values of directives
upload_max_filesize is specified either in Plesk
php.ini or in the domain settings.
1. Connect to the Plesk server via SSH.
2. On server-wide level - increase
upload_max_filesize values. Open the file
/usr/local/psa/admin/conf/php.ini in a text editor and specify limits for
upload_max_file size in bytes. The default value is 2147483647 (2GB):
# egrep 'post_max_size|upload_max_filesize' /usr/local/psa/admin/conf/php.ini
post_max_size = 2147483647
upload_max_filesize = 2147483647
3. Restart "psa" service:
# service psa restart
4. Log out from Plesk UI and log in again to apply changes.
5. For specific domain - log into Plesk and open the tab Domains > exmaple.com > PHP Settings and adjust
Note: If the issue still persists, check out this KB article.