|  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: 2021-02-21 04:22 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: cmb (profile)
Status: No Feedback Package: IIS related
PHP Version: 5.3.8 OS: Windows Server 2008 R2 x64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: andrew dot luebke at gmail dot com
New email:
PHP Version: OS:


 [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
 [2021-02-11 13:09 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-02-11 13:09 UTC]
I cannot reproduce this with PHP 7.4 and IIS 10.  Is this still an
issue for you with any of the actively supported PHP versions[1]?

[1] <>
 [2021-02-21 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Jun 01 03:03:40 2023 UTC