ID: 40818 Updated by: [EMAIL PROTECTED] Reported By: marik at marbes dot cz -Status: Open +Status: Feedback Bug Type: IIS related Operating System: Win32 PHP Version: 5CVS-2007-03-15 (snap) New Comment:
I cannot reproduce this. WIll you help me by describing the circumstances when this fails. Which php sapi do you use? CGI isapi, etc... What "Directory Security" setting in IIS are you using and other details of your setup. Previous Comments: ------------------------------------------------------------------------ [2007-03-15 11:32:46] marik at marbes dot cz latest snap shot built On: Mar 15, 2007 07:30 GMT doesn't work ------------------------------------------------------------------------ [2007-03-15 11:25:25] marik at marbes dot cz Description: ------------ I have virtual host "HelpDesk" on IIS 2003 Server with anonymous access running under user "IUSR". Everything works fine until somebody tries to set NTLM access rights for IUSR on root directory of virtual host only. IUSR has read acccess to virtual host root directory "C:\Inetpub\helpdesk" and no access to parent directories (C:\Inetpub). Then command include "./config/cfg_global.php"; doesn´t work. If I give IUSR read access to C:\Inetpub, it works. I've tested it with several version > 5.0.2 works fine 5.1.6 doesn't work 5.2.0 doesn't work 5.2.1 works fine latest snap shot built On: Mar 14, 2007 15:30 GMT doesn't work again :-) ?? There may can be similar problem as http://bugs.php.net/bug.php?id=38904 http://bugs.php.net/bug.php?id=38232 Thanx for answer. Reproduce code: --------------- include "./config/cfg_global.php"; Expected result: ---------------- included config file.. Actual result: -------------- Warning: include(./config/cfg_global.php) [function.include]: failed to open stream: No such file or directory in C:\Inetpub\helpdesk\www\index.php on line 18 Warning: include() [function.include]: Failed opening './config/cfg_global.php' for inclusion (include_path='.;C:\php5\pear') in C:\Inetpub\helpdesk\www\index.php on line 18 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40818&edit=1