Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a rackspace cloud server running Ubuntu 12. I've setup the web server, PHP and MySQL and it's all working with my custom PHPs and databases performing as expected

But, the problem arises when I install wordpress. The installation was smooth but I can't add any plugins or media from the dashboard

When I try to add the plugins, it asks me for my FTP details. I've setup the server entirely in SSH via terminal. I have not used any FTP related thing in it. So I'm clueless about it

Next, when I try to add media, it says it does not have enough permissions even though I've granted full permissions to the database user. Besides, I cannot change the wp-content folder to 777 from security point of view.

Thanks for the help in advance.

share|improve this question

3 Answers 3

up vote 1 down vote accepted

Change the owner of wp-content to be the same as whatever user Apache is running as - it might be "apache" or "nobody". You're having this issue because WordPress cannot update itself unless Apache has permission to change the contents of the wp-content directory.

share|improve this answer

If you have SSH access to the server, just upload your plugins to the plugins folder.

http://lorelle.wordpress.com/2007/02/11/how-to-install-configure-and-use-wordpress-plugins/

The images thing is pretty common, I've run into it myself before. I am sure you'll find an answer in their support:

http://wordpress.org/search/error+uploading+images?forums=1

share|improve this answer

As Nada stated you need to change the owner of that directory to www-data which should be the user apache is running as.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.