Skip to content

Instantly share code, notes, and snippets.

@linuslundahl
Created August 31, 2012 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linuslundahl/3552113 to your computer and use it in GitHub Desktop.
Save linuslundahl/3552113 to your computer and use it in GitHub Desktop.
Send php error_log to OS X console.
$ mate /etc/php.ini
Add: error_log = /Users/USERNAME/Library/Logs/php.log
$ sudo chmod 755 ~/Library/ && sudo chmod 755 ~/Library/Logs && sudo touch ~/Library/Logs/php.log && sudo chmod 777 ~/Library/Logs/php.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment