How come I can not install plugins on my local Wordpress install?
Posted
by
classer
on Ask Ubuntu
See other posts from Ask Ubuntu
or by classer
Published on 2011-02-17T15:27:41Z
Indexed on
2011/03/20
8:17 UTC
Read the original article
Hit count: 282
Hello,
I got WordPress up and running fine on Ubuntu 10.04 by using this source except that when I try to update and install themes/plugins I get this following error message in wp-admin page:
Installing Plugin: WordPress.com Stats 1.8.1 Downloading install package from http://downloads.wordpress.org/plugin/stats.1.8.1.zip…
Unpacking the package…
Could not create directory. /var/www/wordpress/wp-content/upgrade/stats.tmp/stats
Actions: Return to Plugin Installer
At first I thought I had to setup an FTP account but searched more and I found some information that says that I need to change the permissions of the wp-content folder which is located in the directory:
/var/www/wordpress/wp-content
I tried changing it by doing:
sudo chmod -R 777 wp-content/
but when I tried installing a plugin I got the same error message. I also tried passing it 755 as a permission but still got the same thing. I settled on 755 because it is more secure I have read.
How can I solve this problem safely and securely?
© Ask Ubuntu or respective owner