PHP 4.0 - Win32 Distribution
============================


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. Note that this Windows
Installer distribution does NOT contain the isapi module.


Requirements
------------

- Windows 95 or later, Windows NT 4.0 or later
- ISAPI 4.0 compliant Web server required for ISAPI module (tested on IIS 4.0,
  PWS 4.0 IIS 5.0).  IIS 3.0 is *NOT* supported;  You should download and
  install the Windows NT 4.0 Option Pack with IIS 4.0 if you want native PHP
  support.
- Windows 95 requires the DCOM update, freely available from:
    http://download.microsoft.com/msdownload/dcom/95/x86/en/dcom95.exe


Installation
------------

You have downloaded the Windows installer distribution of PHP, so it should
have already installed php for you. Please refer to the Install.txt file
for any futher instructions, and for instructions for web servers not directly
supported by the Installer.

Some users of IIS or PWS on NT workstation may have encountered an error message
towards the end of the installation saying something to the effect of:

'Component 'MSCOMCTL.OCX' or one of its dependencies not correctly registered:
 a file is missing or invalid.'

If this happens, proceed as follows:

There should be a file called REGSVR32.EXE on your WinNT\System32 directory
and also a file called MSCOMCTL.OCX in the same directory.
If not, you will have to get them, maybe from your NT CD or perhaps by
downloading them from somewhere on the Microsoft site.
Once the files are there, from the command line type:
  REGSVR32 MSCOMCTL.OCX

The installer should then work.

Alternatively, since by the time you encounter the error, all the php files have
been installed, you can just set the script mappings for your web server as described
in the file install.txt.







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.

Note:  MySQL support is *built-in* as of PHP 4.0.  You don't need to load any
       additional extensions in order to use the MySQL functions.

Good luck,

Zeev <zeev@zend.com>, Andi <andi@zend.com>  [June 25, 2000]
