ID:               44114
 Updated by:       [EMAIL PROTECTED]
 Reported By:      stas at zend dot com
 Status:           Assigned
 Bug Type:         PHP options/info functions
 Operating System: Windows
 PHP Version:      5.3CVS-2008-02-14 (CVS)
 Assigned To:      pajoye
 New Comment:

"But aren't there other case-insensitive filesystems..? For example
MacOSX has something like that..?"

Yes, a lot even. But it is going to be a pain if we have to manage all
of them.

See:
http://en.wikipedia.org/wiki/Comparison_of_file_systems

A possible solution would be to behave what the PHP stream functions
do, comments?


Previous Comments:
------------------------------------------------------------------------

[2008-02-18 11:36:46] [EMAIL PROTECTED]

And for the HOST sections this should propably be done always
regardless of OS.

------------------------------------------------------------------------

[2008-02-18 11:29:24] [EMAIL PROTECTED]

Pierre, since  you have a patch and also win32 build env available,
I'll  assign this to you. But aren't there other case-insensitive
filesystems..? For example MacOSX has something like that..?

------------------------------------------------------------------------

[2008-02-17 13:45:18] [EMAIL PROTECTED]

Hi Jani,

This patch should do it:

http://blog.thepimp.net/patches/php53_ini_win32.patch.txt

I only tested it in the console for now.

Somehow the .user.ini are ignore when called like:

http://blog.thepimp.net/patches/callcgi.bat.txt

I will setup an apache + fcgi later this week to see if the hash works
as expected :)

------------------------------------------------------------------------

[2008-02-14 11:15:14] [EMAIL PROTECTED]

Yes, this stuff was never tested on Windows. :)
Mainly because I haven't got a dev env setup on my machine..
I'll look into this.

------------------------------------------------------------------------

[2008-02-14 01:00:53] stas at zend dot com

Description:
------------
When parsing [PATH=] section in php.ini, the value is taken as hash key
as-is. Also, when calling a script its path is taken as-is from DOCROOT
and file path. 
However, on Windows pathes are case-insensitive, meaning the path in
script may differ in case from the path in config, but for Windows it
would be the same path. It may be true also on other case-insensitive
filesystems. 
The config parser should lowercase the names on Windows both when
storing and when searching.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44114&edit=1

Reply via email to