0
votes

I am having trouble uploading large images to Wordpress. When I try to add an image there is the message:

Maximum upload file size: 2 MB

When I upload an image over 2mb I get the error message:

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

I have checked the values by using phpinfo() and I can see that upload_max_filesize is set at 40M.

How can there be a difference? What else do I need to check?

1

1 Answers

0
votes

A couple of articles which might help you the first and the second.

Why are you uploading large images? Are they for dsiplay on a page/post? Perhaps it would be better to reduce the file size prior to uploading.