No products in the cart.
Forum Replies Created
Viewing 1 post (of 1 total)
- AuthorPosts
-
January 25, 2022 at 10:05 am in reply to: WordPress asking for my FTP credentials to install plugins #9497
giovan-cruz
ParticipantFor me the the process that solved, to be able to work on my localhost using Ubuntu, was:
(of course you must replace myUser by your user,whoami
show it for you if you dont know)-
Include myself on www-data group (to be able to access and edit files without sudo):
sudo usermod -aG www-data myUser
-
Set myself and this group as files owners:
sudo chown -R myUser:www-data /var/www/html
-
Set a major permission for the group (the group must write too):
sudo find . -type f -exec chmod 664 {} \; sudo find . -type d -exec chmod 775 {} \;
-
Then add this line on config.php
define('FS_METHOD', 'direct');
-
- AuthorPosts
Viewing 1 post (of 1 total)