ID: 22065 User updated by: paul dot d dot rowlands at delphi dot com Reported By: paul dot d dot rowlands at delphi dot com Status: Open Bug Type: Filesystem function related Operating System: Windows 2000 server PHP Version: 4.3.2-dev New Comment:
All files in web root are everyone full control. Note: 100+ Warnings on php 4.3.0 in 48 hours New stable release less than 6 in 48 hours. Php scripts have not changed they are accessing the same files, however these files are not in the web root, but are on the same local drive and are everyone full control. Previous Comments: ------------------------------------------------------------------------ [2003-02-19 09:25:38] moptop69 at ntlworld dot com Warning: Unknown(c:\inetpub\wwwroot\calendar.php): failed to open stream: Permission denied in Unknown on line 0 i get this under IIS on Windows 200 when the IUSR_<hostname> does not have the correct security access to the files, this has only recently started showing this previously I would get a CGI/HTTP500 error message instead. if needs be make sure that all files in the webroot have the correct permissions for your scripts to execute/read and where needed write. ------------------------------------------------------------------------ [2003-02-18 06:28:34] paul dot d dot rowlands at delphi dot com [18-Feb-2003 06:47:42] PHP Warning: file(d:/temp/ht1/180203.ht1) [<a href='http://www.php.net/function.file'>function.file</a>]: failed to open stream: Permission denied in d:\Apache Group\Apache2\htdocs\fa_tools_ht.php on line 103 ------------------------------------------------------------------------ [2003-02-18 06:26:15] paul dot d dot rowlands at delphi dot com The warnings have reduced with the stable release. 6 warnings in 48 hours. ------------------------------------------------------------------------ [2003-02-13 20:37:20] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-02-06 09:43:01] paul dot d dot rowlands at delphi dot com The file must exist to continue in the code:- if(file_exists($file1)==FALSE) die("File1 does not exist"); The file is everybody full control. What would have if the file was in use by another server (updating) ? Can php detect this condition ? ------------------------------------------------------------------------ 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 http://bugs.php.net/22065 -- Edit this bug report at http://bugs.php.net/?id=22065&edit=1