Created
August 31, 2012 12:23
-
-
Save linuslundahl/3552113 to your computer and use it in GitHub Desktop.
Send php error_log to OS X console.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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