How enable ftp to localhost wordpress site?

Jeffrey Walton noloader at
Sun Aug 2 00:09:20 UTC 2020

On Sat, Aug 1, 2020 at 7:49 PM Bill Cole
<macportsusers-20171215 at> wrote:
> ...
> Doing a little research, I found that the reason WP sometimes asks for
> ftp credentials is that it can't directly write to the plugins
> directory. That usually means that it also can't write to any of
> wp-content/, which is a problem that will break WP once you start using
> it. The simplest fix, if your webserver is running as _www (default for
> MacPorts' apache2) and you have WP installed at
> /opt/local/www/apache2/html/wordpress/:
>     chmod -R _www:admin
> /opt/local/www/apache2/html/wordpress/wp-content

I would consider doing that the other way... chmod -R admin:_www. I
would also chmod 0750. Apache usually needs read access, not
read/write. Other does not need any access.


More information about the macports-users mailing list