El Dude
El Dude

Reputation: 5618

Wordpress update feature

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

Answers (1)

Hüseyin BABAL
Hüseyin BABAL

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

Related Questions