XAMPP MAC OS X WordPress Unable to create directory

I can not install new wordpress theme with XAMPP on MAC OS X, it said Unable to create directory and bla..bla..bla..bla…

Then i tried with open Terminal and write command:

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

Then write your password. I thought it finished and then I can install new theme but instead wordpress give me FTP form.

If you have problem like me, then you just need to write new config to wp-config.php in wordpress root with this code:

define('FS_METHOD', 'direct');

And violla you can install, update or delete any plugins or theme.

Projects: XAMPP for Apple 1.8.3, WordPress 3.9.1 and MAC OS X Mavericks 10.9.3.

Artikel terkait:   WordPress: Arabic Font Plugins

Isi Komentar

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *

This site uses Akismet to reduce spam. Learn how your comment data is processed.