Skip to content

Instantly share code, notes, and snippets.

@lajlev
Created May 1, 2013 08:06
Show Gist options
  • Save lajlev/5494264 to your computer and use it in GitHub Desktop.
Save lajlev/5494264 to your computer and use it in GitHub Desktop.
Avoid req FTP access wordpress locally
1. Create php file in root folder. fx _www
<?php echo(exec("whoami")); ?>
2. Run in terminal
chown -R [whoami output]: [root folder]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment