WordPress – The uploaded file could not be moved to /var/www/ – Ubuntu / Linux

Having problems in uploading the WordPress Themes, Plugins etc. in Ubuntu? Here’s a simple and easy solution:

Solution – The uploaded file could not be moved to /var/www/

Simply open the file php.ini file, existing in /etc folder. For me, it is in:

/etc/php5/apache2/php.ini

Now search for the variable upload_max_filesize and change its value from 2M to whatever the file size, you want to, for me, I changed it from:

upload_max_filesize = 2M

to

upload_max_filesize = 100M

After this, restart your Apache Server, through the following post:

Install PHP, MySQL and Apache (LAMP) on Ubuntu (Linux)

And your problem could have been resolved.

Uncategorised

Leave a Reply

Your email address will not be published. Required fields are marked *