Please Help Me - PHP Installation



Hey guys,

I am trying to get PHP working on a Windows Vista Ultimate box running
IIS 7. First I made sure IIS was working properly....it is because it
serves up aspx (asp.net) pages (please don't hate!) with no problems.
I downloaded the MSI installer for PHP 5.2.3 and ran it. During the
installation I selected the web server as IIS ASAPI. Then afterwards
each time I tried to view my web page (from localhost, my box) I got
an IIS message stating that there was not a MIME type for php. So I
searched some Internet posts and found that I needed to add a MIME
type of "*.PHP" as "application/octet-stream". Afterwards the MIME
message went away, but my php code is still not being handled by PHP
on the server. I have a very simple webpage with an orange background
color and some simple text in an <? echo....?> code block. When I view
the page I see the orange background, but I see no text. When looking
at View | Page Source I can see that the <? echo...?> code block came
down from the web server just like that...it was never handled on the
server. After reading a bit more I added a Handler Mapping for ".php"
and ".php3" to IIS, and I answered "Yes" to add php as "Allowed" under
ISAPI and CGI restrictions.

After restarting IIS and even restarting the machine it still is not
working. I can still see the orange background, but the PHP code is
not being handled by PHP on the web server.

I have Windows Vista User Account Control turned off, and I have made
sure that "Everyone" has "Full Control" permissions on the PHP
installation folder and all of its subfolders. I am using an
Administrator account. Maybe the problem has something to do with
account being used by PHP???.??

Anyways, this seems like an awful lot of pain to go through to get it
working.

Guys how can I make it work? What am I doing wrong?

.



Relevant Pages

  • Re: PHP + IIS + Visual Studio.NET 2005 and Apache
    ... The apache version that comes with VS.Php however will shut itself down ... Apache or IIS. ... to use the DBG module installed inside PHP inside the version of Apache ... bundled with VS.php in case you do not have any other web server installed. ...
    (alt.php)
  • Re: IIS, ASP & PHP - is it possible?
    ... IIS is perfectly able to run both ASP and PHP on the same server at the ...
    (microsoft.public.inetserver.iis)
  • Re: php form and ssi
    ... definition any site using phpoi will also be using php. ... SSI is one such simple technology that can be used ... One of the sites did not use any high level languages before. ... Pardon me for being a bit provocative about IIS. ...
    (comp.lang.php)
  • Re: Apache vs IIS
    ... Windows Server not on my Linux Server so there for I would chose IIS. ... Not that Apache is bad but ASP.NET is far easier and faster to create good web forms in. ... You can run asp on Apache server, and you can do that even on an Apache running on a Linux server. ... PHP on a IIS server is rather easy to run once you install PHP on a PC but if you only use PHP why not use Apache for Windows. ...
    (alt.php)
  • Re: Newbie help: making php start
    ... I did add that dll to the IIS ISAPI filter list, but it appears as "unknown" for priority, the state is a red down arrow and the Activate button is grayed whatever. ... Please consider I'm absolute newbie and don't even understand the least of the php language. ... For personal resaons, after consulting experts advice on other newsgroups, I've decided to install PHP, MySQL and Coppermine on my IIS for XP SP2 at home. ...
    (alt.php)