WordPress on Linux: The uploaded file could not be moved

2010 November 28
by r.claypool

Getting this error?

The uploaded file could not be moved to /usr/local/apache2/htdocs/your-site/wp-content/uploads.

Most of the advice you will find is about file and folder permissions, but this error is also displayed if your file is too big.

Two MB is the default setting in php.ini for upload_max_filesize, so if this is your problem, just increase the value and restart apache.

Happy Programming!

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS

This work by Robert Claypool is licensed under a Creative Commons Attribution 3.0 United States.