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

OS type and version Ubuntu Linux 20.04.4
Virtualmin version 7.0-4

I have this problem on all my wordpress sites on the server

and i have raised all the limits
However, I still get the same message when I try to upload a file to my site

I’m not an expert in server modification, please help me in a simple way

Hi xeronmer27,

You need to edit the php.ini in your /home/wordpress-site/etc

Where have you raised all the limits? In WordPress or via Virtualmin?

In that case, please note that you need to restart the web server (Apache / Nginx) as well as PHP-FPM for the changes that you have made to be applied on the system.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.