Edit report at http://bugs.php.net/bug.php?id=54197&edit=1
ID: 54197
Comment by: carsten_sttgt at gmx dot de
Reported by: julientld at free dot fr
Summary: [PATH=] sections incompatibility with
user_ini.filename set to null
Status: Feedback
Type: Bug
Package: PHP options/info functions
Operating System: Windows Server 2003 SP2
PHP Version: 5.3.5
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
Some more infos. Assuming this as last lines in "php.ini":
| [PATH=C:/Users/Public/Documents/htdocs/]
| user_ini.filename =
now in the shell (php is in $PATH):
cd C:\Users\Public\Documents\htdocs\
php-cgi -f phpinfo.php
--> that's working
php-cgi -f C:\Users\Public\Documents\htdocs\phpinfo.php
--> CGI / FastCGI has stopped working
(1a30.7d0): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000000 ebx=00d02df8 ecx=00000005 edx=00d02da0 esi=00d02df0
edi=519e0c1c
eip=1001f307 esp=00c0dccc ebp=00d04410 iopl=0 nv up ei ng nz ac
pe cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00010297
php5ts!zend_do_fetch_lexical_variable+0x27:
1001f307 8b0c37 mov ecx,dword ptr [edi+esi]
ds:0023:526e3a0c=????????
BTW:
In 5.3.6RC2 the behavior is different:
PHP is not crashing, but user_ini.filename is not set to none (it's
still ".user.ini").
Previous Comments:
------------------------------------------------------------------------
[2011-03-08 19:43:05] julientld at free dot fr
IIS does not crash. It continues to serve static files. But all php
scripts return the HTTP 500 error.
There is nothing in the php log file.
------------------------------------------------------------------------
[2011-03-08 19:31:13] [email protected]
What says the error log? Or is it actually a crash?
------------------------------------------------------------------------
[2011-03-08 19:25:07] julientld at free dot fr
Description:
------------
Hello,
My configuration :
Windows Server 2003 SP2
IIS 6.0
PHP 5.3.5 VC9 x86 NTS
FastCGI 1.5
WinCache 1.1
Same problem seen with IIS 5.1 under Windows XP SP3.
Test script:
---------------
In the php.ini file (production based) :
[PHP]
;I do not want users to set their own configuration file so I disable
the below option (set to null)
user_ini.filename =
;I want to set my own simple PATH sections like that
[PATH=D:/www/]
upload_max_filesize = 5M
Expected result:
----------------
I expect to get no error
Actual result:
--------------
But all the php script I open return the following :
FastCGI Error
The FastCGI Handler was unable to process the request.
--------------------------------------------------------------------------------
Error Details:
â¢The FastCGI process exited unexpectedly
â¢Error Number: -1073741819 (0xc0000005).
â¢Error Description: Unknown Error
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
I obtain no error if I remove the [PATH=] section or set a filename to
user_ini.filename
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54197&edit=1