OK, this is what I've done.
I've downloaded php-4.4.0-Win32.zip from
I extracted the files to C:\ and renamed the folder c:\php
I copied php.ini-recommended to c:\windows, renamed it php.ini and edited the following:
doc_root = "c:\inetpub\
cgi.force_redirect = 0
(I did notice that cgi.force_redirect = 0 started with a semi-colon)
In the IIS manager I accessed the properties of the Default Web Site and in the home directory mapped a path to C:\php\php.exe with the .php extension.
I've created a test page
I'm using PHP Designer 2005 and the debug shows the html code fine but I can't see it in the localhost browser.
If I call from my browser (either firefox or IE6) I get a connection refused when connecting to localhost, but I can connect to html files in the same folder using
What am I doing wrong?
I've downloaded php-4.4.0-Win32.zip from
I extracted the files to C:\ and renamed the folder c:\php
I copied php.ini-recommended to c:\windows, renamed it php.ini and edited the following:
doc_root = "c:\inetpub\
cgi.force_redirect = 0
(I did notice that cgi.force_redirect = 0 started with a semi-colon)
In the IIS manager I accessed the properties of the Default Web Site and in the home directory mapped a path to C:\php\php.exe with the .php extension.
I've created a test page
Code:
<html>
<head>
<title>My First page in PHP</title>
</head>
<body>
<?php print "<p>Hello world</p>"; ?>
</body>
</html>
I'm using PHP Designer 2005 and the debug shows the html code fine but I can't see it in the localhost browser.
If I call from my browser (either firefox or IE6) I get a connection refused when connecting to localhost, but I can connect to html files in the same folder using
What am I doing wrong?