Answers for "how to know where error log file is php"

PHP
1

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
Posted by: Guest on July-31-2021
1

how to see php error log

/usr/local/apache/logs/error_log
Posted by: Guest on April-21-2020

Browse Popular Code Answers by Language