Hello,
I like to visualize some pages PHP in my server IIS 6.0 (Windows 2003 Server).
I downloaded and installed the file php-4.3.4-Win32.zip but when I try to visualize any page .php I get the following message:
The page cannot be found
The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable
I'm trying to understand what's wrong and I'll appreciate any help you may provide.
I'll describe the best I can step by step what I'm doing and perhaps you can tell where things went wrong and how to correct it.
Step 1 : I decompressed the file php-4.3.4-Win32.zip in the folder c:\inetpub\php\
Step 2: I modified the following lines in files php . ini
extension_dir="c:\inetpub\php\extensions"
cgi.force_redirect=0
Step 3: I copied file php.in in the folder c:\windows
Step 4 : Then I copied the extensions DLL php4isapi.dll & php4ts.dll in folder c:\windows\system32\inetsrv.
Step 5 : I created a web site PHP_TEST in the IIS, with a file test.php that contains the following code :
<HTML><HEAD><TITLE>Essai_1</TITLE>
</HEAD><BODY>
Nous sommes le <? echo_date("d/m/Y"); ?>
</BODY></HTML>
Step 6 : I went to properties of my web site, in the IIS on the tab "Home Directory", I clicked on the button "Configuration", I added extension php as an executable "c:\inetpub\php\php.exe" and I checked the box "Script Engine"
Step 7 : At the user IUSR_Computer name, I granted rights to the folder in my web site PHP_TEST (c:\inetpub\PHP_TEST).
And also granted rights to folder c:\inetpub\php\
Finally while in mode DOS I wrote "php -i" and I got several lines HTML which leads me to believe that my problem may come from my server's IIS"
Anybody got any Ideas ? Please help.
Thank you very much.
David