what are the basic steps to installation
php4+mysql4+phpmyadmin on IIS web server?. Pls write the
complete steps.

Answer Posted / akram abbasi

ISAPI mode. If you are going to install PHP in an ISAPI
mode, be aware that you must copy some DLL files to get PHP
to function correctly. PHP uses several DLLs, such as the
PHP4TS.dll file and DLL files in both the DLL and
extensions folders. I will cover DLLs in the extensions
folder later in this article. For now, you must work with
the PHP4TS.dll file and DLL folder files. Use the following
steps.

You must make the files available to the ISAPI module. I
recommend that you copy the files into the
C:\WINNT\SYSTEM32 folder. While you may copy the files into
the C:\PHP\SAPI folder, putting the files in the
C:\WINNT\SYSTEM32 folder is preferable.
Open the Microsoft Management Console (MMC) for IIS web
server for your selected web server and website. (The same
options apply here as in the CGI installation listed
above).
Open the Properties dialog box, select the ISAPI tab, and
select Add.
In Filter Name, add the name of the ISAPI filter. (For this
article, I entered: “PHP”.)
In the Executable field, either use Browse or type the path
to C:\PHP\SAPI\PHPISAPI.dll
You should see the following:
4-Click the OK button and select the Home Directory tab and
the Configuration button. The procedure here is identical
to the CGI installation listed above.
In the Executable, use Browse or type the path to your PHP
folder and the PHP4ISAPI.dll file (for this article, it is
C:\PHP\SAPI\PHP4ISAPI.dll).
In the Extension type, enter the file extension that the
server should use to refer to PHP scripts (this is most
commonly the .php extension).
You should see the following:
Click OK, Apply, and OK to complete the settings.
Stop and restart the web server. To do this, use the
Services utility in Control Panel within Administrative
Tools (Start > Programs > Administrative Tools > Services
or Start > Settings > Control Panel > Administrative Tools
> Services). Then right click the IIS Admin Service and
select Restart. You may also use the Command console to
start/stop the web server, as follows:
To stop the web sever enter: Net stop iisadmin
To restart the web server enter: Net start w3svc
When the web service has restarted, open the ISAPI tab as
described in steps 2 and 3 above.
Ensure that the ISAPI has loaded correctly. The ISAPI
should be green, not red; red indicates that the ISAPI has
failed to load. If the ISAPI has not loaded correctly,
ensure that your paths to the ISAPI files are correct and
that you copied the DLL files into the correct locations.
If the ISAPI loads correctly, you are ready to test your
PHP installation.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get useful error messages in php?

647


What is str_replace()?

630


What is final class and final method?

654


How to remove a file?

691


How to convert strings to numbers in php?

654






Can we extend multiple classes in php?

618


Do you know what is the difference between the include() and require() functions?

592


What is the maximum size of a database in mysql?

592


What is the difference between $name and $$name?

599


What is the use of super-global arrays in php?

579


What is difference between rest and http?

608


Swap two variables value without using third variable in php ?

690


Tell me how is it possible to remove escape characters from a string?

576


How to reset/destroy a cookie?

660


How do I escape in php?

622