1. Home
  2. Docs
  3. Enwoo Documentation
  4. Troubleshooting
  5. The uploaded file exceeds the upload_max_filesize directive in php.ini

The uploaded file exceeds the upload_max_filesize directive in php.ini

Low file upload size limit can stop you from uploading files via WordPress uploader (install plugins and themes). The issue is with your server settings (not our product) which limit the maximum size for uploaded files.

The error when you try upload bigger file: The uploaded file exceeds the upload_max_filesize directive in php.ini

How to check maximum upload file size

To check it  go to Media » Add New page and you will see the maximum file uplaod size limit for your WordPress site (at the bottom left).

Solutions

Contact Your Web Host Support

Contact your web hosting provider. Your Web host may have configured their server in a way that prevent you to increase file size.

Updating Your php.ini file

Manual updating (you need to have rights to change server php options)

  1. Locate the php.ini file inside the root directory
  2. Find this line in the php.ini file “upload_max_filesize = 2M” and replace it with a higher value (e.g. “upload_max_filesize = 64M”)
  3. You may also want to increase your max post size. Look for this line in your php.ini file “post_max_size” and increase it as well.
  4. Save the changes
  5. Try the upload again

If you are running on a host that uses cPanel (or similar), you can easily change this from the UI.

Use FTP method

It is possible to upload most files manually. Use some FTP client

Was this article helpful to you? No Yes

How can we help?