Im trying to get coppermine working on my windows IIS7 server.
I followed the instructions in
http://forums.iis.net/thread/1314574.aspx to get PHP enabled in my IIS.
The problem is that it doesnt seem to be working.. I get the error page below if I try to access a php file that is within my wwwroot folder. Any ideas why this is?
According to the directions I've found for IIS7 I have given php permissions to run... so I must be missing something else. FYI if I put an HTML file in the coppermine folder I can open that..
Here is the error page I get when I try to access <mysite>\coppermine\install.php
Server Error in 'JTStuff' Application.
HTTP Error 404.4 - Not Found
Description: The resource you are looking for does not have a module or handler associated with it. It cannot be handled and served.
Error Code: 0x00000000
Notification: ExecuteRequestHandler
Module: IIS Web Core
Requested URL:
http://home2:80/coppermine/install.phpPhysical Path: C:\inetpub\wwwroot\coppermine\install.php
Logon User: Anonymous
Logon Method: Anonymous
Handler: PHP
Causes:
* The file extension for the requested URL does not have a module or handler configured to execute the request on the IIS server.
Solution:
* If you determine that the file extension being denied is required by the Web server, add the appropriate handler for the file extension by following these steps:
1. From the IISWeb Management tool, open a connection to the web site.
2. Double click the Handlers Management feature.
3. Click New Server Module Handler in the Tasks pane.
4. Complete the Wizard pages to add the handler information, and then click Finish to add the handler to the list.
5. Go back to the list of management features and double-click the ISAPI and CGI Restrictions Management feature.
6. Click New Restriction in the Tasks pane.
7. Complete information for the new extension, check Allow extension path to execute, and then click OK.
8.
* Set up a new Failed Request Trace rule for this HTTP status code.
1. Use the IIS Web Management tool to open a connection to the Web server where the problem is occurring.
2. In the tree view, navigate to the Web site, and then click to select it.
3. In the Tasks pane, click Failed Request Tracing.
4. Check Enable Logging for this Site, specify a logging folder or use the default log folder, and then click OK
5. Open the Failed Request Tracing Rules feature and click New Rule in the Tasks pane.
6. Specify the content type to monitor and then click Next.
7. Check the Status Codes checkbox, type 404.3 in the Edit box, and then click Next.
8. In the Providers area, make sure that the WWW Server is checked and highlighted, and that in Provider Properties, the Verbosity level is set to Verbose.
9. Click FinishRequest the page that generated the 404.3 error and then look at the tracing file that was created for the request. This file is located in the logging folder you specified in Step 4.
More Information...
This error means that the IIS server does not recognize the file extension of the requested resource. A module handler is not configured on the Web server for this extension. If the file extension being denied is required by the Web server, add the appropriate handler for the file extension.
Microsoft Knowledge Base Articles:
Server Version Information:
Internet Information Services 7.0.