Hi

I am trying to install PHP 4.3.4 on to a Windows 2003 server running IIS 6. Here is what I have tried:

Made the following changes to php.ini and copied it to c:\windows :
extension_dir = c:/php/extensions
doc_root = "c:Inetpub\wwwroot"
cgi.force_redirect = 0

Copied php4ts.dll to c:\windows\system32

Added a new web service extension in IIS Manager called ".php", and added c:\php\sapi\php4isapi.dll as a required file.

Under the properties of the default web site, on the Home Directory tab, I have selected "Scripts and Executables", and under the configuration option I have added a mapping for extension .php to point to c:\php\sapi\php4isapi.dll

I have made a file called info.php with the following content:

<%php
phpinfo();
%>

When I try and view it from http://localhost/info.php nothing is displayed, and when I do view source the source code is displayed.

Any help will be greatly appriciated.

Joe

    8 days later

    hi
    you have the 1st and most difficult problem in php. because installation is the main problem for almost all new user of php.

    in php4.3.4 you don't need to make any change in php.ini . it will change automaticly when you install php by php installer. you can install php with simply click in installer and check all the necessary information that installer need.

    one thing, you have to install IIS first then php.

    you can also check the documentation in php.net and in the .txt file with your installation packege.

      Write a Reply...