Created
November 20, 2019 22:04
-
-
Save cocapasteque/0f4448a287d0b7e4fea2025d96a4187c to your computer and use it in GitHub Desktop.
Docker/Wordpress - cannot install plugin (Asking for FTP)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker exec -it CONTAINER_ID /bin/bash | |
| echo "define('FS_METHOD', 'direct');" >> wp-config.php | |
| chown -R www-data wp-content | |
| chmod -R 755 wp-content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment