Home
last modified time | relevance | path

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

12

/PHP-5.5/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.5/ext/opcache/
H A Dzend_accelerator_debug.c47 if (!ZCG(accel_directives).error_log || in zend_accel_error()
48 !*ZCG(accel_directives).error_log || in zend_accel_error()
49 strcmp(ZCG(accel_directives).error_log, "stderr") == 0) { in zend_accel_error()
53 fLog = fopen(ZCG(accel_directives).error_log, "a+"); in zend_accel_error()
H A DREADME196 opcache.error_log
197 OPcache error_log file name. Empty string assumes "stderr".
H A DZendAccelerator.h234 char *error_log; member
H A Dzend_accelerator_module.c281 … , "" , PHP_INI_SYSTEM, OnUpdateString, accel_directives.error_log, …
679 …directives, "opcache.error_log", STRING_NOT_NULL(ZCG(accel_directives).error_log), 1); in ZEND_FUNCTION()
/PHP-5.5/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.5/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.5/sapi/fpm/fpm/
H A Dfpm_stdio.c268 if (!strcasecmp(fpm_global_config.error_log, "syslog")) {
282 fd = open(fpm_global_config.error_log, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR);
284 zlog(ZLOG_SYSERROR, "failed to open error_log (%s)", fpm_global_config.error_log);
H A Dfpm_conf.h28 char *error_log; member
H A Dfpm_conf.c96 { "error_log", &fpm_conf_set_string, GO(error_log) },
1168 if (!fpm_global_config.error_log) { in fpm_conf_post_process()
1169 fpm_global_config.error_log = strdup("log/php-fpm.log"); in fpm_conf_post_process()
1187 if (strcasecmp(fpm_global_config.error_log, "syslog") != 0) in fpm_conf_post_process()
1190 fpm_evaluate_full_path(&fpm_global_config.error_log, NULL, PHP_LOCALSTATEDIR, 0); in fpm_conf_post_process()
1226 free(fpm_global_config.error_log); in fpm_conf_cleanup()
1229 fpm_global_config.error_log = 0; in fpm_conf_cleanup()
1547 zlog(ZLOG_NOTICE, "\terror_log = %s", STR2STR(fpm_global_config.error_log)); in fpm_conf_dump()
/PHP-5.5/Zend/tests/
H A Dbug39542.phpt15 error_log('Error: Autoload class: '.$class.' not found!');
/PHP-5.5/ext/session/tests/
H A Drfc1867_invalid_settings_2-win.phpt5 error_log=
H A Drfc1867_invalid_settings_2.phpt5 error_log=
H A Drfc1867_invalid_settings-win.phpt5 error_log=
H A Drfc1867_invalid_settings.phpt5 error_log=
/PHP-5.5/sapi/fpm/tests/
H A D003.phpt14 error_log = $logfile
/PHP-5.5/main/
H A Dphp_globals.h80 char *error_log; member
H A Dmain.c527 …STD_PHP_INI_ENTRY("error_log", NULL, PHP_INI_ALL, OnUpdateErrorLog, error_log, php_core_…
621 if (PG(error_log) != NULL) { in php_log_err()
623 if (!strcmp(PG(error_log), "syslog")) { in php_log_err()
629 fd = VCWD_OPEN_MODE(PG(error_log), O_CREAT | O_APPEND | O_WRONLY, 0644); in php_log_err()
/PHP-5.5/ext/soap/tests/bugs/
H A Dbug31422.phpt12 error_log=
/PHP-5.5/ext/standard/
H A Dbasic_functions.h79 PHP_FUNCTION(error_log);
/PHP-5.5/sapi/fpm/
H A Dphp-fpm.conf.in32 ;error_log = log/php-fpm.log
467 ; (error_log, sessions.save_path, ...).
530 ;php_admin_value[error_log] = /var/log/fpm-php.www.log
/PHP-5.5/
H A Dphp.ini-development480 ; server-specific log, STDERR, or a location specified by the error_log
489 ; Set maximum length of log_errors. In error_log information about the source is
572 ;error_log = php_errors.log
574 ;error_log = syslog
1913 ; OPcache error_log file name. Empty string assumes "stderr".
1914 ;opcache.error_log=
H A Dphp.ini-production480 ; server-specific log, STDERR, or a location specified by the error_log
489 ; Set maximum length of log_errors. In error_log information about the source is
572 ;error_log = php_errors.log
574 ;error_log = syslog
1913 ; OPcache error_log file name. Empty string assumes "stderr".
1914 ;opcache.error_log=
H A DUPGRADING506 - opcache.error_log (default "" which means stderr)

Completed in 66 milliseconds

12