Saturday, April 02, 2005

Trying on PHP web



1. d/l php from www.php.net/download
2. Install IIS(Add remove program-> Add/Remove Windows component)
3. extract the files to c:\php\
4. configure php.ini file (edit doc_root)
5. Configure IIS

In either case, you need to start the Microsoft Management Console
(may appear as 'Internet Services Manager', either in your Windows NT 4.0 Option Pack branch or the Control Panel=>Administrative Tools under Windows 2000/XP). Then right click on your Web server node (thiswill most probably appear as 'Default Web Server'),
and select 'Properties'.


To use the ISAPI module, do the following:
* If you don't want to perform HTTP Authentication using PHP, you

can (and should) skip this step. Under ISAPI Filters, add a new
ISAPI filter. Use PHP as the filter name, and supply a path to the
php4isapi.dll / php5isapi.dll.

* Under 'Home Directory', click on the 'Configuration' button. Add a
new entry to the Application Mappings. Use the path to the
php4isapi.dll / php5isapi.dll as the Executable, supply .php as
the extension, leave 'Method exclusions' blank, and check the
'Script engine' checkbox.

* Stop IIS completely (NET STOP iisadmin)
* Start IIS again (NET START w3svc)

Comments: Post a Comment