Discussion:
[PHP-INSTALL] installation with IIS
John
2008-06-21 20:50:23 UTC
Permalink
I have installed php installer 5.2.6 on Windows Vista with IIS running.
I wrote "hello.php" with notebook, and put it in the IIS home page
(C:\inetpub\wwwroot).
If I try to run http://localhost/hello.php (or any other .php file) in IE it
gives me error 404 - page not found.
Running it in Firefox asks me if I want to run hello.php with cli, or to
save it to disk. So it finds the file OK, but does not change it to the
http file, and display it. If I choose run with cli, it gives an error
message "CLI has stopped working".
Can anyone advise?
Thanks
John
Paul Reinheimer
2008-06-22 01:26:57 UTC
Permalink
Hi John,

So while PHP may be installed it would appear that your webserver doesn't know
about it yet. That's why your web browser is asking you what to do with this
file it doesn't understand.

I would try checking out one of the tutorials on how to install PHP with the
FastCGI implementaiton under IIS, follow the steps and see if there's something
that wasn't done. I think I used this same tutorial to get things set up on my
Windows box.
http://learn.iis.net/page.aspx/272/installing-php-on-windows-vista-with-fastcgi/



paul
--
Paul Reinheimer
John
2008-06-26 10:35:48 UTC
Permalink
Paul,
Thanks for the advice. On your recommended site I found a help
file, which I followed, and it sorted the problem.
Many thanks.
Do you know anything about MySQL (why I wanted PHP)?
I now want to run MySQL, but I have installed it, and when I try to start
it, it gives me error 1067, or "access is denied"
With thanks anyway.
John
Post by Paul Reinheimer
Paul Reinheimer
Bass Bizri
2008-06-24 00:17:43 UTC
Permalink
Hi John,

I tried latest PHP with Windows running IIS........ had all sort of
problems.
When I changed to earlier version such as 4.x it worked like a dream.

Regards,
Bass





"John"
<***@lin
eone.net> To
php-***@lists.php.net
22/06/2008 06:50 cc
AM
Subject
[PHP-INSTALL] installation with IIS
Please respond to
"John"
<***@lin
eone.net>






I have installed php installer 5.2.6 on Windows Vista with IIS running.
I wrote "hello.php" with notebook, and put it in the IIS home page
(C:\inetpub\wwwroot).
If I try to run http://localhost/hello.php (or any other .php file) in IE
it
gives me error 404 - page not found.
Running it in Firefox asks me if I want to run hello.php with cli, or to
save it to disk. So it finds the file OK, but does not change it to the
http file, and display it. If I choose run with cli, it gives an error
message "CLI has stopped working".
Can anyone advise?
Thanks
John
Loading...