Have you ever got the message Connection Information
and a form is prompting you to enter FTP information when doing updates, delete, install new themes, or plugins? I usually get that message when I try to install new plugins and themes or update WordPress core, plugins, or themes after every new WordPress installation in my mac. That was always annoying.
But after lots of research, I’ve found a simple solution to this problem.
Change the folder permission:
- Right-click on the WordPress install folder and open the “Get Info” window from the menu.
- Unlock the by clicking on the “padlock” icon at the bottom of the window
- Set “Privilege” as “Read & Write” for all users under the Sharing & Permissions section
- Click the “Cog” icon and select “Apply to enclosed items“.
- Close the Info window
Update Wp-config.php File:
- Open your WordPress’s
wp-config.php
file - Add this line code
define('FS_METHOD', 'direct');
- Save file.
Now try to update or install again. Problem Solved?
I really hope that helps someone, I spent ages being confused over this "thing"! If you have any more details or information, or if this works for you, then please add a comment below.