php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #68297 Application Popup provides too few information
Submitted: 2014-10-24 09:20 UTC Modified: 2014-12-04 08:48 UTC
From: php at sanexeh dot nl Assigned: ab (profile)
Status: Closed Package: IIS related
PHP Version: 5.5.18 OS: Windows Server 2012 R2
Private report: No CVE-ID: None
 [2014-10-24 09:20 UTC] php at sanexeh dot nl
Description:
------------
On Microsoft Windows OS there is currently too few information written to the Windows Event Logs (Application, Event Viewer) to be able to figure out where a problem occurs, if one occurs.

Test script:
---------------
1, via CLI: c:\php5.5\php-cgi.exe -d a=b -d foo=1()

2, visiting a website running in IIS, when the website has a user_ini.filename file with the following erroneous content: foo = 1()

Expected result:
----------------
I don't really care about the actual output format written to Windows Application Event Logs, but it'd be useful to have the started process with commandline arguments:

1: Application popup: PHP Error : syntax error, unexpected '(' in Unknown on line 2 (c:\php5.5\php-cgi.exe -d a=b -d foo=1())

2: Application popup:  : (c:\website\docroot\.user.ini)
or
2: Application popup:  : (c:\php5.5\php-fcgi-5-5.exe -d a=b)
or
2: Application popup:  : (c:\php5.5\php-fcgi-5-5.exe -d a=b, c:\website\docroot\.user.ini)


Actual result:
--------------
1: Application popup: PHP Error : syntax error, unexpected '(' in Unknown on line 2

2: Application popup:  : 



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-10-24 09:24 UTC] php at sanexeh dot nl
Excuses me, c:\php5.5\php-fcgi-5-5.exe is the same file as c:\php5.5\php-cgi.exe in my case; I duplicate it to make managing multiple PHP versions easier.
 [2014-12-04 08:48 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2014-12-04 08:48 UTC] ab@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 08:01:29 2024 UTC