Jump to content

Error: Failed to open stream: Permission denied


Recommended Posts

I'm a PHP newbie and I'm getting the following error when viewing a form that I created in PHP.

 

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

 

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.