When I was using share-hosting @ Fasthosts, the wordpress blog never asked me for FTP login details. After I move everything to VPS @ QuickHostUK, the following dialog kinda popup every time when I want to upgrade plugins.
This is due to the fact that WordPress (Apache+PHP) does not have enough read/write permissions to the plugin folder and thus it requires FTP access for plugins to install. One easy fix would be to login to VPS shell and set the correct (enough) permissions (using chmod -R 777 plugins) [but this may pose security issues) or change the owner of the plugin folder to apache (using chown command).
Another better fix would be to add the FTP login details in wp-config.php so that it won’t bother you again.
1 2 3 4 | /** Setup FTP Details **/ define("FTP_HOST", "localhost"); define("FTP_USER", "user"); define("FTP_PASS", "password"); |
/** Setup FTP Details **/ define("FTP_HOST", "localhost"); define("FTP_USER", "user"); define("FTP_PASS", "password");
–EOF (The Ultimate Computing & Technology Blog) —
loading...
Last Post: How to Print ASCII code from Character on Windows Batch Script?
Next Post: Domain Transfers From Fasthosts, Quickhosts, Namecheap, GoDaddy to NameSilo