• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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