On Sun, 23 May 2021 at 03:33, Paul Gevers <elb...@debian.org> wrote:

> After some Apache2 tweaking, I got stuff working but installing plugins
> or themes failed with a question to provide ftp credentials. As the host
> I am migrating away from didn't need that I tried to achieve the same.
> It took me quite some time to find out that I manually changed
> /etc/wordpress/config-<domain>.php to include
> `define('FS_METHOD', 'direct');`
> After doing the same on the new host, installing plugin and themes works.
>
That's a reasonable default. I've adjusted setup-mysql to use FS_METHOD of
direct.
The main issue is the "check direct is safe" code is setting off some false
positives so then tries to use other methods which fail.

As the administrator is free to change it to whatever they want after the
initial installation, the default should be the least surprising setup,
such as direct.

 - Craig

Reply via email to