Skip to content

Instantly share code, notes, and snippets.

@djandyr
Last active August 29, 2015 14:20
Show Gist options
  • Save djandyr/86b811d770fabc756645 to your computer and use it in GitHub Desktop.
Save djandyr/86b811d770fabc756645 to your computer and use it in GitHub Desktop.
Fix Symfony Permission in XAMPP
rm -rf app/cache/*
rm -rf app/logs/*
# Make sure the HTTPDUSER is correct
# egrep -iw 'user' /Applications/XAMPP/etc/httpd.conf
HTTPDUSER=daemon
sudo chmod +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment