Home
last modified time | relevance | path

Searched refs:error_log (Results 1 – 16 of 16) sorted by relevance

/PHP-5.3/tests/security/
H A Dopen_basedir_error_log_variation.phpt9 test_open_basedir_before("error_log");
13 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/test/bad/bad.txt"));
14 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/test/bad.txt"));
15 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/bad.txt"));
16 var_dump(error_log("Hello World!", DESTINATION_IS_FILE, $initdir."/test/ok/ok.txt"));
18 test_open_basedir_after("error_log");
26 *** Testing open_basedir configuration [error_log] ***
35 Warning: error_log(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
40 Warning: error_log(%s/test/bad.txt): failed to open stream: %s in %s on line %d
45 Warning: error_log(%s/bad.txt): failed to open stream: %s in %s on line %d
[all …]
H A Dopen_basedir_error_log.phpt5 error_log=
10 test_open_basedir_before("error_log");
13 var_dump(ini_set("error_log", $initdir."/test/bad/bad.txt"));
14 var_dump(ini_set("error_log", $initdir."/test/bad.txt"));
15 var_dump(ini_set("error_log", $initdir."/bad.txt"));
16 var_dump(ini_set("error_log", $initdir."/test/ok/ok.txt"));
17 var_dump(ini_set("error_log", $initdir."/test/ok/ok.txt"));
19 test_open_basedir_after("error_log");
27 *** Testing open_basedir configuration [error_log] ***
44 *** Finished testing open_basedir configuration [error_log] ***
/PHP-5.3/ext/standard/tests/general_functions/
H A Dbug60723.phpt2 Bug #60723 (error_log error time has changed to UTC ignoring default timezo)
10 ini_set("error_log", $log);
12 error_log("dummy");
/PHP-5.3/ext/exif/
H A Dtest.txt45 error_log($msg,0);
65 //error_log("search_file($root,$path)",0);
69 //error_log("search_file($root$path):$type=$found",0);
88 //error_log("search_file($root$path) add:$path/$found",0);
90 error_log("exif test page - counting files: $cnt",0);
121 //error_log("SCRIPT_FILENAME($path)",0);
124 //error_log("argv($path)",0);
128 error_log("exif test page - counting files in $path");
130 error_log("exif test page - counting files: ".count($possible)." done.",0);
263 if ( !((++$num)%100)) error_log("exif test page - checking files: $num",0);
[all …]
/PHP-5.3/sapi/fpm/fpm/
H A Dfpm_stdio.c268 if (!strcasecmp(fpm_global_config.error_log, "syslog")) { in fpm_stdio_open_error_log()
278 fd = open(fpm_global_config.error_log, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR); in fpm_stdio_open_error_log()
280 zlog(ZLOG_SYSERROR, "failed to open error_log (%s)", fpm_global_config.error_log); in fpm_stdio_open_error_log()
H A Dfpm_conf.h28 char *error_log; member
H A Dfpm_conf.c88 { "error_log", &fpm_conf_set_string, GO(error_log) },
1151 if (!fpm_global_config.error_log) { in fpm_conf_post_process()
1152 fpm_global_config.error_log = strdup("log/php-fpm.log"); in fpm_conf_post_process()
1164 if (strcasecmp(fpm_global_config.error_log, "syslog") != 0) in fpm_conf_post_process()
1167 fpm_evaluate_full_path(&fpm_global_config.error_log, NULL, PHP_LOCALSTATEDIR, 0); in fpm_conf_post_process()
1203 free(fpm_global_config.error_log); in fpm_conf_cleanup()
1206 fpm_global_config.error_log = 0; in fpm_conf_cleanup()
1524 zlog(ZLOG_NOTICE, "\terror_log = %s", STR2STR(fpm_global_config.error_log)); in fpm_conf_dump()
/PHP-5.3/Zend/tests/
H A Dbug39542.phpt15 error_log('Error: Autoload class: '.$class.' not found!');
/PHP-5.3/main/
H A Dphp_globals.h91 char *error_log; member
H A Dmain.c503 …STD_PHP_INI_ENTRY("error_log", NULL, PHP_INI_ALL, OnUpdateErrorLog, error_log, php_core_…
588 if (PG(error_log) != NULL) { in php_log_err()
590 if (!strcmp(PG(error_log), "syslog")) { in php_log_err()
596 fd = VCWD_OPEN_MODE(PG(error_log), O_CREAT | O_APPEND | O_WRONLY, 0644); in php_log_err()
/PHP-5.3/ext/standard/
H A Dbasic_functions.h79 PHP_FUNCTION(error_log);
H A Dbasic_functions.c2956 PHP_FE(error_log, arginfo_error_log)
4678 PHP_FUNCTION(error_log) argument
/PHP-5.3/sapi/fpm/
H A Dphp-fpm.conf.in32 ;error_log = log/php-fpm.log
454 ; (error_log, sessions.save_path, ...).
508 ;php_admin_value[error_log] = /var/log/fpm-php.www.log
/PHP-5.3/
H A Dphp.ini-development552 ; server-specific log, STDERR, or a location specified by the error_log
561 ; Set maximum length of log_errors. In error_log information about the source is
643 ;error_log = php_errors.log
645 ;error_log = syslog
H A Dphp.ini-production552 ; server-specific log, STDERR, or a location specified by the error_log
561 ; Set maximum length of log_errors. In error_log information about the source is
643 ;error_log = php_errors.log
645 ;error_log = syslog
H A DNEWS930 . Added partial syslog support (on error_log only). FR #52052. (fat)
1020 . Fixed crash in error_log(). (Felipe) Reported by Mateusz Kocielski.
2186 - Fixed error_log() to be binary safe when using message_type 3. (Jani)
3422 - Fixed bug #45191 (error_log ignores date.timezone php.ini val when setting
3551 - Added logging option for error_log to send directly to SAPI. (Stas)
4166 - Fixed session.save_path and error_log values to be checked against
4569 - Fixed bug #40897 (error_log file not locked). (Ilia)
5158 - Improved safe_mode check for the error_log() function. (Ilia)
6569 - Fixed bug #32587 (Apache2: errors sent to error_log do not include

Completed in 64 milliseconds