Skip to content

Instantly share code, notes, and snippets.

@balanza
Created September 20, 2012 03:02
Show Gist options
  • Save balanza/3753716 to your computer and use it in GitHub Desktop.
Save balanza/3753716 to your computer and use it in GitHub Desktop.
Let wordpress plugin being installed locally
#to show the apache running user, in a php file write
<?php echo(exec("whoami")); ?>
#Let's say it prints out XXX. now just run in your shell
$ sudo chown -R XXX:nogroup /path/to/wordpress/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment