- Plesk for Linux
- PHP file upload script does not work;
- There are no errors in the web server or PHP logs;
- Issue persists with both LiteSpeed and Apache being the main web server;
- Following error occurs in uploading a file in WordPress admin dashboard:
CONFIG_TEXT: File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.
directive is switched off.
Allow file uploading in Plesk > Domains > example.com > PHP Settings > file_uploads > choose On from the drop-down menu: