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
How to get useful error messages in php?
What is str_replace()?
What is final class and final method?
How to remove a file?
How to convert strings to numbers in php?
Can we extend multiple classes in php?
Do you know what is the difference between the include() and require() functions?
What is the maximum size of a database in mysql?
What is the difference between $name and $$name?
What is the use of super-global arrays in php?
What is difference between rest and http?
Swap two variables value without using third variable in php ?
Tell me how is it possible to remove escape characters from a string?
How to reset/destroy a cookie?
How do I escape in php?