Edit report at https://bugs.php.net/bug.php?id=54197&edit=1
ID: 54197 Comment by: info at garrant dot com Reported by: julientld at free dot fr Summary: [PATH=] sections incompatibility with user_ini.filename set to null Status: Assigned 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: I have the exact issue with PHP 5.3.9 running on Windows 2008 IIS7. When you try to uncomment user_ini.filename = and use a PATH section, there is a FastCGI error and all PHP pages will fail. I even tried adding open quotes and it still fails with user_ini.filename = "". I want to disable so sites cannot user individual .ini files. How can we do this? Previous Comments: ------------------------------------------------------------------------ [2011-03-09 13:22:14] paj...@php.net So let do it the hard way until I work on the initial problem. ------------------------------------------------------------------------ [2011-03-09 13:20:26] carsten_sttgt at gmx dot de > which is different No. My last example is exactly the first "Test Script" from julientld at free dot fr. Just without comments. ------------------------------------------------------------------------ [2011-03-09 13:09:43] paj...@php.net I explicitly asked three times to open a new issue for this exact problem, which is different (as in require different fix). Why do you insist to post this info here? That's getting annoying. ------------------------------------------------------------------------ [2011-03-09 13:04:43] carsten_sttgt at gmx dot de Well, if this makes you happy: php -v PHP 5.3.6RC2 (cli) (built: Mar 3 2011 01:08:35) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies Adding this to "php.ini": | user_ini.filename = | [PATH=C:/Users/Public/Documents/htdocs/] | upload_max_filesize = 5M php-cgi -f "C:\Users\Public\Documents\htdocs\test.php" --> Result crash. (eec.14a4): 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=01d92cc8 ecx=00000005 edx=01d92c70 esi=01d92cc0 edi=4f3893f4 eip=5c7fc1d7 esp=009bd9bc ebp=01d942e0 iopl=0 nv up ei ng nz na po cy cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00210283 php5ts!_zend_mm_free_int+0x57: 5c7fc1d7 8b0c37 mov ecx,dword ptr [edi+esi] ds:0023:5111c0b4=???????? ------------------------------------------------------------------------ [2011-03-09 12:40:03] paj...@php.net @carsten_sttgt at gmx dot de It is not supposed to be done in a section. But at the global level. However it should not crash so please verify that it actually crashes with 5.3.6RC2 (or not). The problem here is about the ability to disable the functionality by not setting the filename option, as described in the manual. Now, for any further comments about your specific issue, please open a new report. Thanks for your understanding. (ich kann es auch auf Deutsch schreiben, wenn es hilft ;) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=54197 -- Edit this bug report at https://bugs.php.net/bug.php?id=54197&edit=1