Bug #54197 [NEW]: [PATH=] sections incompatibility with user_ini.filename set to null

From: Date: Tue, 08 Mar 2011 18:25:11 +0000
Subject: Bug #54197 [NEW]: [PATH=] sections incompatibility with user_ini.filename set to null
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-159309@lists.php.net to get a copy of this message
From:             
Operating system: Windows Server 2003 SP2
PHP version:      5.3.5
Package:          PHP options/info functions
Bug Type:         Bug
Bug description:[PATH=] sections incompatibility with user_ini.filename set to null

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 bug report at http://bugs.php.net/bug.php?id=54197&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=54197&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=54197&r=trysnapshot53
Try a snapshot (trunk):              http://bugs.php.net/fix.php?id=54197&r=trysnapshottrunk
Fixed in SVN:                        http://bugs.php.net/fix.php?id=54197&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54197&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=54197&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=54197&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=54197&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=54197&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=54197&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=54197&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=54197&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=54197&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=54197&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=54197&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=54197&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=54197&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=54197&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=54197&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=54197&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=54197&r=mysqlcfg



Thread (22 messages)

« previous php.bugs (#159309) next »