Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

i've installed a LAMP server on my ubunutu 11.04. i've installed wordpress and hooked it right with the MySQL db. i've changed the permissions of the www-data group to read and write files.

every thing is seems to work and i can manage the site through the admin panel, but i can't install plugins cause the system is asking me the FTP details, and i can't seem to go through it.

can any body help? please...

share|improve this question
1  
WolfieZero's fix should be the accepted answer. –  Matt M. Mar 17 at 7:10
add comment

5 Answers 5

up vote 0 down vote accepted

I usually do this when that happens :

chown -R nobody:nobody /path/to/wordpress
share|improve this answer
    
Does this decrease security? I read that Apache shouldn't own anything, but that may just be someone's opinion. –  JFA Jun 18 at 19:53
add comment

The solution I found that worked on my Mac running the builtin Apache2 was to add this to 'wp-config.php'

define('FS_METHOD','direct');

share|improve this answer
    
This is the best solution. Make sure you don't add it to production as it can cause security issues: codex.wordpress.org/Editing_wp-config.php –  Justin Mar 10 at 21:20
add comment

This is a permissions issue. wp-content/plugins must be writable by the web server user.

share|improve this answer
add comment

This isn't a WordPress problem. You need to refer to the documentation for the LAMP server to check the setup options.

For localhost, you can bypass plugin installation from WordPress and simply copy your plugins into /wp-content/plugins. After you copy them in, go to your WordPress administration and they will show up in your plugins ready to be activated.

Make sure you unzip the plugins and keep them in their folders.

share|improve this answer
add comment

If you're using mod_php, switch to mod_suphp instead. This has worked for me in the past.

I don't know what package it will be listed as in Ubuntu, but generally it's there somewhere. Works in Fedora.

share|improve this answer
add comment

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.