ID: 21046 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Output Control Operating System: linux -PHP Version: 4.3.0RC2 +PHP Version: 4.3.0RC3 New Comment:
Errors are being logged to the Apache webserver error log for the website. We just upgraded to 4.3.0RC3 (CGI version) and the problem still occurs. We're using the recommended php.ini file that came with 4.3.0RC3 source. Running Redhat 6.x, Apache 1.3.2x display_errors = Off, log_errors = On Previous Comments: ------------------------------------------------------------------------ [2002-12-16 17:18:31] [EMAIL PROTECTED] What error loging mechanism are you usingl: syslog, file, something else? ------------------------------------------------------------------------ [2002-12-16 13:35:09] [EMAIL PROTECTED] oops, sorry, that should read: Could not set cookie, log errs on, display_errs off ------------------------------------------------------------------------ [2002-12-16 13:34:39] [EMAIL PROTECTED] oops, sorry, that should read: ------------------------------------------------------------------------ [2002-12-16 11:23:35] [EMAIL PROTECTED] phpinfo() reports that display_errors is off. Running the script that [EMAIL PROTECTED] suggested produces the output: Could not set cookie, log errs on, display_errs Also, php is running as a cgi binary. ------------------------------------------------------------------------ [2002-12-16 10:36:50] [EMAIL PROTECTED] Could you try this version instead, and report the output? <? error_reporting(E_ALL); if (!$undefinedVariable) { if (setcookie ("code","123456")) { print "Cookie set, "; } else { print "Could not set cookie, "; } } print (ini_get('log_errors')) ? 'log errs on, ' : 'log errs off'; print (ini_get('display_errors')) ? 'display errs on' : 'display_errs off'; ?> ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21046 -- Edit this bug report at http://bugs.php.net/?id=21046&edit=1