Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php set error log file

ini_set("log_errors", 1); // Enable error logging
ini_set("error_log", "/tmp/php-error.log"); // set error path
error_log( "Hello, errors!" ); // log a test error
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #set #error #log #file
ADD COMMENT
Topic
Name
8+3 =