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
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
how to see php error log
/usr/local/apache/logs/error_log
php error log
// Php Error Log
error_log("Error message");
// Log and Array
error_log( print_r( [
__METHOD__,
'error_key_1' => 'error_value'
] ) );
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us