Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');
For me FS_METHOD: direct
works only with permission www-data.
Try to change permissions for wp-content to www-data or add your user to www-data group.
sudo adduser ${USER} www-data
This also worked for me.
Thanks guys, nice solution!
(after transfering wordpress to another host, i had this problems).
Thanks a lot!
I'm using docker for wordpress development.
For me, works next:
I added define('FS_METHOD', 'direct');
to function.php file of my theme.
And then:
docker exec -u root -it {CONTAINER_ID} /bin/bash
chown -R www-data wp-content
chmod -R 755 wp-content
Because of this PR, there is no need to change the permissions within the container :)
thanks so much!
thank's a bunch ! works perfect
Thanks!
very helpful, thanks Diego!
You save my day ❤️
Thanks a lot, you saved me hours)