I have setup a virtual host in user's
Now the problem is wordpress can't automatically install plugins, themes, or perform any modifications to files at all. I looked at similar posts and people suggest that php is running as a user that doesn't have access to folder.
I think this can be solved if I allow user that is running php to access wordpress root location. But how do I find what user is running php? In litespeed admin panel server is running as nobody, so does that mean that php is running as nobody as well? If that is the case then I might have to upgrade litespeed to change run-as user.
Edit:
Setting permissions of a folder that wordpress works with to
domain.com
home directory and installed wordpress. Everything works great with permissions 775.Now the problem is wordpress can't automatically install plugins, themes, or perform any modifications to files at all. I looked at similar posts and people suggest that php is running as a user that doesn't have access to folder.
I think this can be solved if I allow user that is running php to access wordpress root location. But how do I find what user is running php? In litespeed admin panel server is running as nobody, so does that mean that php is running as nobody as well? If that is the case then I might have to upgrade litespeed to change run-as user.
Edit:
Setting permissions of a folder that wordpress works with to
0777
solves the issue, however I would rather not have any 0777
files&folders.
Last edited by a moderator: