|
Posted by Diane Wilson on 05/10/05 21:14
In article <j%4ge.2112$fY4.1326@fe07.lga>, pencap@gmail.com says...
> Diane,
> > I have an install problem on IIS that has me stumped.
> >
> > PHP appears to be installed properly, and is listed as a
> > filetype in IIS, pointing to the PHP script processor.
> > However, when I try to load a page called "test.php",
> > I get a "page not found" response.
> >
> > The file contains only HTML, no PHP. I duplicated the file
> > as "test.junk", and IIS reads and processes the file, as
> > HTML, with no problem. IIS can also open .html and .aspx
> > files in the same directory.
>
> > Any idea why I get a "page not found" on .php files?
>
> The problem may be that PHP does not have permission from IIS and/or
> that IIS does not have the application/php mimetype listed.
>
> Those are the two most common problems with IIS. Also are you using the
> CGI or are you using the ISAPI.
Thanks for the response.
Looking at IIS properties, specifically for the directory where
the files are located, execute permissions is set to "scripts
and executables".
The mapping for .php was set up for C:\PHP\php-cgi.exe .
This is the setting that gave "page not found". Setting it
to php-win.exe (and also to php.exe) caused a "CGI timeout"
message.
I don't see any specific settings in php.ini that seem to be
related.
What else should I check?
Diane
Navigation:
[Reply to this message]
|