Failed to connect to FTP Server on XAMPP (Mac) Failed to connect to FTP Server on XAMPP (Mac) wordpress wordpress

Failed to connect to FTP Server on XAMPP (Mac)


First of all, go to wp-config.php and add this line after the

@package WordPress

define( 'FS_METHOD', 'direct' );

then open the Terminal and paste this:

sudo chmod -R 777 /Applications/XAMPP/xamppfiles/htdocs/

followed by your system password

Done and done!


A usefull video about installing Xampp correctly.

Change in your php.ini after

@package Wordpress

define( 'FS_METHOD', 'direct' );

And change your directory to 777 and the files to 644 in your terminal:

sudo find /Applications/XAMPP/xamppfiles/htdocs/ -type d -exec chmod 777 {} \;sudo find /Applications/XAMPP/xamppfiles/htdocs/ -type f -exec chmod 644 {} \;

Good luck!