WordPress asking for my FTP credentials to install plugins

admin, ftp, plugins, wordpress, wordpress-theming

Solution

Try to add the code in wp-config.php:

define('FS_METHOD', 'direct');

Problem

I installed a WordPress blog in my local system. But when I try to add plugins from admin it asks for FTP access. What do I need to configure for WordPress to be able to upload without FTP?

Original source

Related problems