Cannot upload media via Wordpress uploader Cannot upload media via Wordpress uploader wordpress wordpress

Cannot upload media via Wordpress uploader


A solution is to use FastCgi. This makes PHP run as the user who owns the site. New files and folders will be the same user and group. This will solve your problem.

There is a performance penalty to FastCgi but you get some added security as it restricts php. If you are hosting multiple website with multiple users this could be a good idea.


Try going to your miscellaneous settings page (or media depending on your version) and make sure the upload directory is still wp-content/uploads.

If you need to. set the full url too.

Also, as a final solution, disable the option to organize them into folders so that way WordPress doesn't even need to create folders.


Check for a setuid or setgid bit on a directory above the 2010 directory. ls -l will have an s or S in the permissions for the directory. Make sure this directory has the correct ownership.