Created
October 21, 2012 13:01
-
-
Save rolandinsh/3926886 to your computer and use it in GitHub Desktop.
PHP error log and report
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
<?php | |
/* atkļūdošana PHP */ | |
ini_set("log_errors","1"); | |
ini_set("error_log","very_secret_log_file.txt"); | |
ini_set("display_errors","0"); /* test enviroment = 1 */ | |
error_reporting(E_ALL); /* http://lv1.php.net/function.error-reporting.php */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment