Error: Failed to open stream: Permission denied
Posted: Sat May 08, 2010 9:53 pm
I'm a PHP newbie and I'm getting the following error when viewing a form that I created in PHP.
[text]PHP Warning: require_once(C:\Sites\www\custom\templates): failed to open stream: Permission denied in C:\Sites\www\custom\templates\info_request.php on line 3
PHP Fatal error: require_once(): Failed opening required '' (include_path='.;c:\php\includes') in C:\Sites\www\custom\templates\info_request.php on line 3[/text]
I'm on a Windows 2008 Server R1 (64bit) running IIS 7 and PHP through Fast CGI and MySQL server 5.1. Except for this issue PHP is running fine on the server. I'm running PHPMyAdmin and a couple other PHP apps just fine. I confirmed that I have permissions set correctly (have even run php files at the directory and file level under full control to test)
Appreciate any suggestions on how to troubleshoot this issue.
[text]PHP Warning: require_once(C:\Sites\www\custom\templates): failed to open stream: Permission denied in C:\Sites\www\custom\templates\info_request.php on line 3
PHP Fatal error: require_once(): Failed opening required '' (include_path='.;c:\php\includes') in C:\Sites\www\custom\templates\info_request.php on line 3[/text]
I'm on a Windows 2008 Server R1 (64bit) running IIS 7 and PHP through Fast CGI and MySQL server 5.1. Except for this issue PHP is running fine on the server. I'm running PHPMyAdmin and a couple other PHP apps just fine. I confirmed that I have permissions set correctly (have even run php files at the directory and file level under full control to test)
Appreciate any suggestions on how to troubleshoot this issue.