php – WordPress blocks all media uploads in wp-admin citing the upload_max_filesize directive, but this is incorrect

Question

have spun up a dedicated WordPress instance, and everything is working except for the media uploads. When I try to upload, I am told The uploaded file exceeds the upload_max_filesize directive in php.ini.

However, this is not true. I have set the limit and post_max both to 30M. WordPress reflects this in the dashboard. However, any file regardless of size receives this error. do you have any ideas why? Checking my nginx log, the POST request returns a 200 and no error is logged.

the only out-of-the-ordinary thing with my setup is the directory is symlinked. could this cause an issue?

0
user3191753 2 years 2021-03-22T08:26:08-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse