Reputation: 5618
I am running wordpress on two domains on the same machine. For one domain that I had for longer, updates and downloads process automatically. On the other domain folder, wordpress asks me for a ftp account. Why is that? Can I copy the connection information from the working WP to the not working one?
Upvotes: 0
Views: 33
Reputation: 15550
Worpdress asks you for FTP credentials when it cannot access your plugin directory directly. Your php runs as apache user but plugin directory owned by another user. If you do not want to enter ftp credentials again and again, you can define ;
define( 'FTP_USER', 'user' );
define( 'FTP_PASS', 'pass' );
define( 'FTP_HOST', 'ftp.your_site.com:21' );
in wp-config.php
Upvotes: 1