By Chempo
Ok so.
I have 2 websites. Lenslooter.com and Duki420.com
On Lenslooter everything works. I can update, add and delete plugins and some plugins can write in wp-config.php and add files to wp-content folder. ftp host in wp-config is ‘127.0.0.1’
I use exact same setting in wp-config for Duki420 and I have weird problems.
I can add and update plugins only when ftp host is ‘127.0.0.1’, but then I can access general settings. I can access general setting when ftp host is set to ‘duki420.com’.
So thats the first problem. The second one is that i.e. w3 cache needs to edit wp-config file and add new file called ‘advanced-cache.php’ in wp-content folder. On Lenslooter it can, Duki420 it can’t. I use exact same permissions as in Lenslooter.
EDIT: Oh and I am using SSH2 for connecting. Maybe I need another user on server for Auth. keys?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
It sounds like the permissions on your second site’s files could use some adjustment. Wordpress will only prompt for FTP details if it does not have write access to the files it needs to modify. This can be corrected by ensuring that your web files are owned by “www-data”, the user that Apache runs as on an Ubuntu server. You can do this with:
chown -Rf www-data:www-data /var/www/html
Replacing /var/www/html with the directory where your web files are located.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.