|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55770 Missing error_log value produces 500 error
Submitted: 2011-09-23 21:00 UTC Modified: 2011-09-26 18:53 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:0 (0.0%)
From: andrew dot luebke at gmail dot com Assigned:
Status: Open Package: IIS related
PHP Version: 5.3.8 OS: Windows Server 2008 R2 x64
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-09-23 21:00 UTC] andrew dot luebke at gmail dot com
If log_errors = on and there is no error_log, i.e. error_log = php_errors.log, then any script returns a 500 error in IIS 7.5.  This is the default setting in php.ini-production, both error_log entries are commented out.

Test script:



Expected result:
The php info page.

Actual result:
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-24 19:11 UTC]
-Status: Open +Status: Feedback
 [2011-09-24 19:11 UTC]
Are there any PHP-related errors in your IIS error log (or event log)?
 [2011-09-26 18:53 UTC] andrew dot luebke at gmail dot com
-Status: Feedback +Status: Open
 [2011-09-26 18:53 UTC] andrew dot luebke at gmail dot com
Log Name:      Application
Source:        Application Error
Date:          9/23/2011 2:02:23 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ****
Faulting application name: php-cgi.exe, version:, time stamp: 0x4e537939
Faulting module name: php5ts.dll, version:, time stamp: 0x4e537a04
Exception code: 0xc0000005
Fault offset: 0x000f8a80
Faulting process id: 0x3e00
Faulting application start time: 0x01cc7a34174de581
Faulting application path: C:\Program Files (x86)\PHP\php-cgi.exe
Faulting module path: C:\Program Files (x86)\PHP\php5ts.dll
Report Id: 54fcd3bf-e627-11e0-8792-000c29dca815
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Aug 14 00:01:27 2020 UTC