This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Apache / In Wordpress - cannot install plugin , it defaults to FTP upload box
« on: January 26, 2021, 09:08:08 PM »
Hi guys, Ive been trying to figure this out for a few days now
I have installed Wordpress in CWP using the script installer (and also tried via softaculous)
Everything installs fine.
However, when I try to add a plugin to Wordpress, it asks for an FTP login. I want to upload it directly via the site, not via FTP. This hasnt happened in any other install of Wordpress I have used on other sites
As it seems it is a file permissions problem , I tried
sudo chown -R nobody:nobody /home/myuser/public_html
which works . (I am assuming that nobody is default apache user for CWP7 ?) . However this replaces all my logged in user permissions.
And so, I cannot browse the files in eg file manager as the logged in control panel user (since they dont have the access any more)
There must be a straightforward answer to this, but cant find. Are there some default settings , which should allow me to allow me to http upload Wordpress plugins?? its driving me crazy!
I have installed Wordpress in CWP using the script installer (and also tried via softaculous)
Everything installs fine.
However, when I try to add a plugin to Wordpress, it asks for an FTP login. I want to upload it directly via the site, not via FTP. This hasnt happened in any other install of Wordpress I have used on other sites
As it seems it is a file permissions problem , I tried
sudo chown -R nobody:nobody /home/myuser/public_html
which works . (I am assuming that nobody is default apache user for CWP7 ?) . However this replaces all my logged in user permissions.
And so, I cannot browse the files in eg file manager as the logged in control panel user (since they dont have the access any more)
There must be a straightforward answer to this, but cant find. Are there some default settings , which should allow me to allow me to http upload Wordpress plugins?? its driving me crazy!
Pages: [1]