I have installed LAMP and have a Wordpress site up and running on localhost/sitename. All I am planning to do is develop sites locally. I have file/folder permission issues. When I try to save a file within the install (using ATOM editor) I get a permission denied message. When I try to update plugins through the WordPress dashboard I get prompted for ftp info. I would also like to increase the upload file max beyond 2M (php.ini edit).
thanks,
John
Permissions for LAMP on localhost
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Permissions for LAMP on localhost
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Permissions for LAMP on localhost
viewtopic.php?f=47&t=265925
For privileges:
For privileges:
Code: Select all
sudo usermod -a -G www-data your_username_here
sudo chgrp -R www-data /var/www/html
sudo chmod -R g+w /var/www/html
Re: Permissions for LAMP on localhost
Thanks for the reply.
root is the only user it will take and that has no effect.
John
root is the only user it will take and that has no effect.
John
Re: Permissions for LAMP on localhost
I was trying to use mysql users. Used my login user and applied the 3 lines of code.. still no change.