When I tried to install a plugin on my ubuntu webserver wordpress kept asking for FTP credentials.
You can fix this in two ways:
#1 Add the FTP credentials in wp-config.php
1 2 3 4 |
define( 'FTP_USER', 'username' ); define( 'FTP_PASS', 'password' ); define( 'FTP_HOST', 'ftp.example.org:21' ); |
#2 Give the right permissions to your wordpress webfolder
1 2 3 |
pieter$ cd /var/ww pieter$ sudo chown -R www-data:www-data wordpressfolder |
Leave a Reply