From 2fdd934f429983f92e2abb09c1dd3614b84825f2 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Tue, 27 Jun 2000 21:39:41 +0000 Subject: [PATCH] - Limit lines to 80 chars - Let people know they don't have to use the ISAPI filter if they don't need HTTP authenatication --- win32/README.txt | 51 +++++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/win32/README.txt b/win32/README.txt index 2d6602346a..047dc46864 100644 --- a/win32/README.txt +++ b/win32/README.txt @@ -7,16 +7,16 @@ Note PHP 4.0 for Windows comes in two flavours - a CGI executable (php.exe), and an ISAPI module (php4isapi.dll). The latter is new to PHP 4.0, and provides -significantly improved performance and some new functionality. However, please -note that the ISAPI module is *NOT* yet considered to be production quality. -The reason for this is that the PHP ISAPI module uses the thread-safe version of -the PHP code, which is completely new to PHP 4.0, and has not yet been tested -and pounded enough to be considered completely stable, and there are actually a -few known bugs. On the other hand, some people have reported very good results -with the ISAPI module, even though we're not aware of anyone actually running it -on a production site. In short - your mileage may vary; If you need absolute -stability, trade the performance of the ISAPI module with the stability of the -CGI executable. +significantly improved performance and some new functionality. However, +please note that the ISAPI module is *NOT* yet considered to be production +quality. The reason for this is that the PHP ISAPI module uses the +thread-safe version of the PHP code, which is completely new to PHP 4.0, and +has not yet been tested and pounded enough to be considered completely stable, +and there are actually a few known bugs. On the other hand, some people have +reported very good results with the ISAPI module, even though we're not aware +of anyone actually running it on a production site. In short - your mileage +may vary; If you need absolute stability, trade the performance of the ISAPI +module with the stability of the CGI executable. Requirements @@ -38,8 +38,8 @@ Unlike PHP 3, PHP 4 is divided into several components; Even when you use PHP in its CGI mode, php.exe is no longer a standalone executable, and relies on external DLLs for execution. For this reason, if you install php.exe as a handler for your web server, you must make sure that the DLLs in the -distribution exist in a directory that is in the Windows PATH. The easiest way -to do it is to copy these DLLs to your SYSTEM (Windows 9x) or SYSTEM32 +distribution exist in a directory that is in the Windows PATH. The easiest +way to do it is to copy these DLLs to your SYSTEM (Windows 9x) or SYSTEM32 (Windows NT) directory, which is under your Windows directory. The DLLs that need to be copied are MSVCRT.DLL (it may already exist in there) and PHP4TS.DLL. @@ -52,19 +52,21 @@ Installation Notes for IIS 4.0 and 5.0 php.ini-optimized files into your Windows directory, and rename it to 'php.ini'. You can then modify any of the directives inside it. - 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). -- Right click on your Web server node (will most probably appear as 'Default Web - Server'), and select 'Properties'. -- Under 'ISAPI Filters', add a new ISAPI filter. Use 'PHP' as the filter name, - and supply a path to the php4isapi.dll that is included in the distribution. -- Under 'Home Directory', click on the 'Configuration' button. Add a new entry - to the Application Mappings; Use the path the php4isapi.dll as the + 'Internet Services Manager', either in your Windows NT 4.0 Option Pack + branch or the Control Panel->Administrative Tools under Windows 2000). +- Right click on your Web server node (will most probably appear as 'Default + Web Server'), and select 'Properties'. +- 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 that + is included in the distribution. +- Under 'Home Directory', click on the 'Configuration' button. Add a new + entry to the Application Mappings; Use the path the php4isapi.dll as the Executable, supply .php as the extension, leave 'Method exclusions', blank, and check the Script engine checkbox. -- Stop IIS completely (you would have to stop the IIS Administration service for - that - stopping it through the Management Console isn't good enough; You can - do it by typing 'net stop iisadmin' on a command prompt). +- Stop IIS completely (you would have to stop the IIS Administration service + for that - stopping it through the Management Console isn't good enough; + You can do it by typing 'net stop iisadmin' on a command prompt). - Start IIS again (you can do it by typing 'net start w3svc' on a command prompt). - Put a .php file under your Web server's document root and check if it works! @@ -82,7 +84,8 @@ Installation Notes for Microsoft PWS 4.0 ".php"="C:\\Program Files\\PHP\\php4isapi.dll" - In the PWS Manager, right click on a given directory you want to add PHP - support to, and select Properties. Check the 'Execute' checkbox, and confirm. + support to, and select Properties. Check the 'Execute' checkbox, and + confirm. At this point, PWS should have built-in PHP support. -- 2.40.0