• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

The uploaded file exceeds the upload_max_filesize directive in php.ini.

K

kilerb

Guest
Hi, this is probably a total newbie question... But I am trying to upload a plugin to my wordpress site. Never had issues before. Now it's saying "The uploaded file exceeds the upload_max_filesize directive in php.ini."
I called support for my server and they told me I don't have an SSH client installed. He couldn't find my php.ini file for some reason. Is there a pretty easy way to up the size restrictions for this domain or the entire server? The file is less then 6 megabytes...

Thanks a lot!
B
 
By default, PHP limits uploaded files' size to 2 MB. This limit applies to all PHP applications. Edit the following options in the "/etc/php.ini" file on the Plesk server and set the values to match your needs. For example:

upload_max_filesize = 32M
post_max_size = 32M

Restart Apache after the "php.ini" file modification.
 
Back
Top