home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 April / PCWorld_2005-04_cd.bin / akce / web / phptriad / phptriad2-2-1.exe / php / install.txt next >
Text File  |  2001-08-09  |  26KB  |  606 lines

  1. PHP/Windows Installation Notes
  2. ==============================
  3.  
  4. Installation on Windows 9x/Me/NT/2000 systems
  5. =============================================
  6.  
  7. There are two main ways to install PHP for Windows: either
  8. manually or by using the InstallShield installer.
  9.  
  10.  
  11. Windows InstallShield
  12. =====================
  13.  
  14.  The Windows PHP installer is available from the downloads page at
  15.  www.php.net. This installs the CGI version of PHP and, for IIS, PWS,
  16.  and Xitami, configures the web server as well.
  17.  Note that this version does *NOT* install any extensions or server
  18.  api versions of PHP.
  19.  
  20.  Install your selected HTTP server on your system and make sure
  21.  that it works.
  22.  
  23.  Run the executable installer and follow the instructions provided by
  24.  the installation wizard. Two types of installation are supported -
  25.  standard, which provides sensible defaults for all the settings it
  26.  can, and advanced, which asks questions as it goes along.
  27.  
  28.  The installation wizard gathers enough information to set up the
  29.  php.ini file and configure the web server to use PHP.
  30.  For IIS and also PWS on NT Workstation, a list of all the
  31.  nodes on the server with script map settings is displayed, and you
  32.  can choose those nodes to which you wish to add the PHP script
  33.  mappings.
  34.  
  35.  Once the installation has completed the installer will inform you
  36.  if you need to restart your system, restart the server, or just
  37.  start using PHP.
  38.  
  39. Windows Manual installation from zip binary distribution
  40. ========================================================
  41.  
  42.  This install guide will help you manually install and configure
  43.  PHP on your Windows 9x/Me/NT/2000 webservers. This guide was compiled by
  44.  Bob Silva. The original version can be found at
  45.  http://www.umesd.k12.or.us/php/win32install.html
  46.  
  47.  This guide provides manual installation support for:
  48.   Personal Web Server 3 and 4 or newer
  49.   Internet Information Server 3 and 4 or newer
  50.   Apache 1.3.x
  51.   OmniHTTPd 2.0b1 and up
  52.   Oreilly Website Pro
  53.   Xitami
  54.   Netscape Enterprise Server, iPlanet
  55.  
  56.  PHP 4 for Windows comes in two flavours - a CGI executable (php.exe),
  57.  and several SAPI modules (for exapmle php4isapi.dll). The latter form
  58.  is new to PHP 4, and provides significantly improved performance and
  59.  some new functionality. However, please note that the SAPI modules
  60.  are *NOT* yet considered to be production quality.
  61.  In particular, with the ISAPI module, you are likely to encounter serious
  62.  reliability problems especially on platforms older than W2K - you may
  63.  witness a lot of server 500 errors and suffer from other server modules
  64.  such as ASP also failing. You have been warned!
  65.  
  66.  The reason for this is that the PHP SAPI modules are using the
  67.  thread-safe version of the PHP code, which is new to PHP 4, and has
  68.  not yet been tested and pounded enough to be considered completely
  69.  stable, and there are actually a few known bugs. On the other hand,
  70.  some people have reported very good results with the SAPI modules,
  71.  and there a few reports of problems with the Apache module version.
  72.  In short - your mileage may vary;  If you need
  73.  absolute stability, trade the performance of the SAPI modules
  74.  with the stability of the CGI executable.
  75.  
  76.  If you choose one of the SAPI modules and use Windows 95, be sure
  77.  to download the DCOM update from
  78.  http://download.microsoft.com/msdownload/dcom/95/x86/en/dcom95.exe"
  79.  For the ISAPI module, an ISAPI 4.0 compliant Web server
  80.  is required (tested on IIS 4.0, PWS 4.0 and IIS 5.0). IIS 3.0 is
  81.  *NOT* supported; You should download and install the Windows NT 4.0
  82.  Option Pack with IIS 4.0 if you want native PHP support.
  83.  
  84.  The following steps should be performed on all installations
  85.  before the server specific instructions.
  86.  
  87.   Extract the distribution file to a directory of your choice.
  88.   C:\PHP\ is a good start.
  89.  
  90.   You need to ensure that the dlls which php uses can be found. The precise
  91.   dlls involved depend on which web server you use and whether you want to
  92.   run php as a cgi or as a server module. php4ts.dll is always used. If you are
  93.   using a server module (e.g. isapi or apache) then you will need the relevent
  94.   dll from the sapi folder. If you are using any php extension dlls then you
  95.   will need those as well. To make sure that the dlls can be found, you can
  96.   either copy them to the system directory (e.g. winnt/system32 or 
  97.   windows/system) or you can make sure that they live in the same directory
  98.   as the main php executable or dll your web server will use (e.g. php.exe,
  99.   php4apache.dll).
  100.  
  101.   Copy the file, php.ini-dist to your %WINDOWS% directory on
  102.   Windows 95/98 or to your %SYSTEMROOT% directory under Windows NT
  103.   or Windows 2000 and rename it to php.ini. Your %WINDOWS% or
  104.   %SYSTEMROOT% directory is typically:
  105.    c:\windows for Windows 95/98
  106.    c:\winnt or c:\winnt40 for NT/2000 servers
  107.  
  108.   Edit your php.ini file:
  109.  
  110.    You will need to change the 'extension_dir' setting to
  111.    point to your php-install-dir, or where you have placed
  112.    your 'php_*.dll' files. ex: c:\php
  113.  
  114.    If you are using OmniHTTPd, do not follow the next step.
  115.    Set the 'doc_root' to point to your webservers
  116.    document_root. ex: c:\apache\htdocs or c:\webroot
  117.  
  118.    Choose which extensions you would like to load when PHP
  119.    starts, noting that several extensions are already built
  120.    into the Windows release, see the section about
  121.    Windows extensions for details of the built-in extensions.
  122.    You can uncomment the: 'extension=php_*.dll' lines
  123.    in php.ini to load these extensions.
  124.  
  125.    Note that on a new installation it is advisable to first get
  126.    PHP working and tested without any extensions before enabling
  127.    them in php.ini.
  128.  
  129.    On PWS and IIS, you can set the browscap.ini
  130.    to point to: 'c:\windows\system\inetsrv\browscap.ini' on
  131.    Windows 9x/Me and 'c:\winnt\system32\inetsrv\browscap.ini'
  132.    on NT/2000 Server. Additional information on using the
  133.    browscap functionality in PHP can be found at
  134.    http://php.netvision.net.il/browser-id.php3
  135.    select the "source" button to see it in action.
  136.  
  137.    Note that the mibs directory supplied with the Windows distribution
  138.    contains support files for SNMP. This directory should be moved to
  139.    DRIVE:\usr\mibs (DRIVE being the drive where PHP is installed.)
  140.  
  141.  
  142. Installation of Windows extensions
  143. ==================================
  144.  
  145.  After installing PHP and a webserver on Windows, you will
  146.  probably want to install some extensions for added functionality.
  147.  The following table describes some of the extensions available. As
  148.  described in the manual installation steps, you can choose which
  149.  extensions you would like to load when PHP starts by uncommenting the:
  150.  extension=php_*.dll' lines in php.ini.
  151.  
  152.  
  153.  ATTENTION! ATTENTION! ATTENTION!
  154.    Some extra DLLs are required for some PHP extensions. Please copy the
  155.    bundled dlls from the 'dlls/' directory in distribution package to your
  156.    windows/system (Win9.x) or winnt/system32 (WinNT, Win2000) directory.
  157.    If you already have these DLLs installed on your system,
  158.    overwrite them only if something is not working correctly.
  159.    Before overwriting them, it is a good idea to backup them or move them to
  160.    another folder - just in case something goes wrong.
  161.  
  162.    Also note that some extensions need 3rd party libraries, 
  163.    e.g. php_oci8.dll needs the Oracle 8 client libraries to be installed
  164.    on your system. These are not bundled with PHP distribution.
  165.  ATTENTION! ATTENTION! ATTENTION!
  166.  
  167.  
  168.  The DLLs for PHP extensions are prefixed with 'php_'.  This
  169.  prevents confusion between PHP extensions and their supporting
  170.  libraries.
  171.  
  172.  Note:
  173.  In PHP 4.0.5 MySQL, ODBC, FTP, Calendar, BCMath, COM, PCRE,
  174.  Session, WDDX and XML support is built-in. You don't need to
  175.  load any additional extensions in order to use these functions.
  176.  
  177.  Examples of PHP Extensions
  178.  
  179.   php_dbase.dll     dBase functions
  180.   php_filepro.dll   Read-only access to Filepro databases
  181.   php_gd.dll        GD library functions for GIF manipulation
  182.   php_hyperwave.dll HyperWave functions
  183.   php_imap.dll      IMAP functions
  184.   php_ldap.dll      LDAP functions
  185.   php_mssql.dll     MSSQL client (requires MSSQL DB-Libraries)
  186.   php_snmp.dll      SNMP get and walk functions (NT only!)
  187.   php_zlib.dll      ZLib compression functions
  188.  
  189.  For more information see the section about Windows extensions at
  190.  http://www.php.net/manual/en/install-windows.php#install.windows.extensions
  191.  
  192.  
  193. Web server configuration
  194. ========================
  195.  
  196.  Installing PHP on Windows with Apache 1.3.x
  197.  
  198.   There are two ways to set up PHP to work with Apache 1.3.x
  199.   on Windows. One is to use the CGI binary (php.exe),
  200.   the other is to use the Apache module dll. In either case
  201.   you need to stop the Apache server, and edit your
  202.   srm.conf or httpd.conf to configure Apache to work with PHP.
  203.  
  204.   Although there can be a few variations of configuring PHP
  205.   under Apache, these are simple enough to be used by the
  206.   newcomer. Please consult the Apache Docs for further
  207.   configuration directives.
  208.  
  209.   If you unzipped the PHP package to C:\PHP\ as desribed
  210.   above, you need to insert these lines to your Apache conf
  211.   file to set up the CGI binary:
  212.  
  213.    ScriptAlias /php/ "c:/php/"
  214.    AddType application/x-httpd-php .php
  215.    Action application/x-httpd-php "/php/php.exe"
  216.  
  217.   Remember to restart the server, for example,
  218.    NET STOP APACHE
  219.   followed by
  220.    NET START APACHE
  221.  
  222.   If you would like to use PHP as a module in Apache,
  223.   you should move php4ts.dll to the windows/system (for Windows 9x/Me)
  224.   or winnt/system32 (for Windows NT/2000) directory, overwriting any
  225.   older file. Then you should add the following two lines to you Apache
  226.   conf file:
  227.  
  228.    LoadModule php4_module c:/php/sapi/php4apache.dll
  229.    AddType application/x-httpd-php .php
  230.  
  231.   Remember to restart the server, for example,
  232.    NET STOP APACHE
  233.   followed by
  234.    NET START APACHE
  235.  
  236.   To use the source code highlighting feature, simply create a PHP
  237.   script file and stick this code in:
  238.    <?php show_source("original_php_script.php"); ?>
  239.   Substitute original_php_script.php with the name of the
  240.   file you wish to show the source of. (This is the only way of
  241.   doing so).
  242.  
  243.   On Win-Apache all backslashes in a path statement such
  244.   as: "c:\directory\file.ext", must be converted to
  245.   forward slashes.
  246.  
  247. ----------------------------------------------------------
  248.  
  249.  Installing PHP on Windows with IIS/PWS
  250.  
  251.   This section contains notes and hints specific to IIS (Microsoft
  252.   Internet Information Server). Installing PHP for PWS/IIS 3 and
  253.   PWS/IIS 4 or newer versions.
  254.  
  255.   Windows and PWS/IIS 3 - including PWS on Win 9x/ME
  256.  
  257.    The recommended method for configuring these servers is to use
  258.    the REG file incuded with the distribution (pws-php4cgi.reg).
  259.    You may want to edit this file and make sure the extensions and PHP
  260.    install directories match your configuration - once you have done
  261.    this, just double click on the file and it will update your registry.
  262.    Alternatively, you can follow the steps below to do it manually.
  263.  
  264.    WARNING:
  265.     These steps involve working directly with the Windows
  266.     registry. One error here can leave your system in an unstable
  267.     state. We highly recommend that you back up your registry
  268.     first. The PHP Development team will not be held responsible if
  269.     you damage your registry.
  270.  
  271.    Run Regedit.
  272.    Navigate to:
  273.     HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/W3Svc/Parameters/ScriptMap
  274.    On the edit menu select: New->String Value.
  275.    Type in the extension you wish to use for your php scripts. ex: .php
  276.    Double click on the new string value and enter the path to
  277.    php.exe in the value data field.
  278.    ex: c:\php\php.exe
  279.    Repeat these steps for each extension you wish to associate
  280.    with PHP scripts.
  281.  
  282.    The following steps do not affect the web server installation and only
  283.    apply if you want your php scripts to be executed when they are run
  284.    from the command line (ex. run c:\myscripts\test.php) or by double
  285.    clicking on them in a directory viewer window. You may wish to skip
  286.    this step as you might prefer the php files to load into a text
  287.    editor when you double click on them.
  288.  
  289.    Now navigate to: HKEY_CLASSES_ROOT
  290.    On the edit menu select: New->Key
  291.    Name the key to the extension you setup in the previous
  292.    section. ex: .php
  293.    Highlight the new key and in the right side pane, double click
  294.    the "default value" and enter phpfile.
  295.    Repeat the last step for each extension you set up in the
  296.    previous section.
  297.    Now create another New->Key under
  298.    HKEY_CLASSES_ROOT and name it phpfile
  299.    Highlight the new key 'phpfile' and in the
  300.    right side pane, double click the "default value" and enter
  301.    PHP Script.
  302.    Right click on the 'phpfile' key and select
  303.    New->Key, name it Shell.
  304.    Right click on the 'Shell' key and select
  305.    New->Key, name it open.
  306.    Right click on the 'open' key and select
  307.    New->Key, name it command.
  308.    Highlight the new key 'command' and in the
  309.    right side pane, double click the "default value" and enter
  310.    the path to php.exe ex: c:\php\php.exe -q %1
  311.    (don't forget the '%1').
  312.    Exit Regedit.
  313.    If using PWS on Windows, reboot to reload the registry.
  314.    PWS and IIS 3 users now have a fully operational system. IIS 3
  315.    users can use a nifty tool available at
  316.    http://www.genusa.com/iis/iiscfg.html
  317.    from Steven Genusa to configure their script maps.
  318.  
  319.   Windows NT/2000 and IIS 4 or newer and PWS 4 on NT Workstation or W2K non server editions
  320.  
  321.    To install PHP on an NT/2000 Server running IIS 4 or newer,
  322.    follow these instructions. You have two options to set up
  323.    PHP, using the CGI binary (php.exe) or with the ISAPI module.
  324.  
  325.    In either case, you need to start the Microsoft Management
  326.    Console (may appear as 'Internet Services Manager', either
  327.    in your Windows NT 4.0 Option Pack branch or the Control
  328.    Panel=>Administrative Tools under Windows 2000). Then
  329.    right click on your Web server node (this will most probably
  330.    appear as 'Default Web Server'), and select 'Properties'.
  331.  
  332.    If you want to use the CGI binary, do the following:
  333.     Under 'Home Directory', 'Virtual Directory', or
  334.     'Directory', click on the 'Configuration' button,
  335.     and then enter the App Mappings tab.
  336.  
  337.     Click Add, and in the Executable box, type:
  338.     c:\php\php.exe (assuming that you have unzipped PHP in c:\php\).
  339.  
  340.     In the Extension box, type the file name extension you want
  341.     associated with PHP scripts. Leave 'Method exclusions'
  342.     blank, and check the Script engine checkbox. You may also
  343.     like to check the 'check that file exists' box - for a small
  344.     performance penalty, IIS (or PWS) will check that the script
  345.     file exists and sort out authentication before firing up php.
  346.     This means that you will get sensible 404 style error messages
  347.     instead of cgi errors complaing that php did not output any data.
  348.  
  349.     You must repeat from 'Click Add...' for each extension you
  350.     want associated with PHP scripts.
  351.     (.php is recommended. although .phtml and .php3 may be
  352.     required for legacy applications.)
  353.  
  354.     Set up the appropriate security. (This is done in Internet
  355.     Service Manager), and if your NT Server uses NTFS file system,
  356.     add execute rights for I_USR_ to the directory that contains
  357.     php.exe
  358.  
  359.    To use the ISAPI module, do the following:
  360.  
  361.     If you don't want to perform HTTP Authentication using PHP,
  362.     you can (and should) skip this step. Under ISAPI Filters,
  363.     add a new ISAPI filter. Use PHP as the filter name, and
  364.     supply a path to the php4isapi.dll.
  365.  
  366.     Under 'Home Directory', click on the 'Configuration' button.
  367.     Add a new entry to the Application Mappings. Use the path
  368.     to the php4isapi.dll as the Executable, supply .php as the
  369.     extension, leave Method exclusions blank, and check the
  370.     Script engine checkbox.
  371.  
  372.     Stop IIS completely (net stop iisadmin)
  373.     Start IIS again  (net start w3svc)
  374.  
  375. ----------------------------------------------------------
  376.  
  377.  Installing PHP on Windows with OmniHTTPd Server
  378.  
  379.   This section contains notes and hints specific to
  380.   OmniHTTPd 2.0b1 and up for Windows
  381.  
  382.   This has got to be the easiest config there is:
  383.  
  384.   Step 1: Install OmniHTTPd server.
  385.   Step 2: Right click on the blue OmniHTTPd icon in the system
  386.           tray and select 'Properties'
  387.   Step 3: Click on 'Web Server Global Settings'
  388.   Step 4: On the 'External' tab, enter:
  389.           virtual = .php | actual = c:\path-to-php-dir\php.exe
  390.           and use the Add button.
  391.   Step 5: On the Mime tab, enter:
  392.           virtual = wwwserver/stdcgi | actual = .php
  393.           and use the Add button.
  394.   Step 6: Click 'OK'
  395.  
  396.   Repeat steps 2 - 6 for each extension you want to associate with PHP.
  397.   NOTE:
  398.    Some OmniHTTPd packages come with built in PHP support.
  399.    You can choose at setup time to do a custom setup, and
  400.    uncheck the PHP component. We recommend you to use the latest
  401.    PHP binaries. Some OmniHTTPd servers come with PHP 4 beta
  402.    distributions, so you should choose not to set up
  403.    the built in support, but install your own. If the server
  404.    is already on your machine, use the Replace button in Step
  405.    4 and 5 to set the new, correct information.
  406.  
  407. ----------------------------------------------------------
  408.  
  409.  Installing PHP on Windows with Oreilly Website Pro
  410.  
  411.   This section contains notes and hints specific to Oreilly
  412.   Website Pro 2.5 and up for Windows
  413.  
  414.   This list describes how to set up the PHP CGI binary
  415.   or the ISAPI module to work with Oreilly Website Pro
  416.   on Windows.
  417.  
  418.    Edit the Server Properties and select the tab "Mapping".
  419.  
  420.    From the List select "Associations" and enter the desired
  421.    extension (".php") and the path to the CGI exe (ex. c:\php\php.exe)
  422.    or the ISAPI dll file (ex. c:\php\sapi\php4isapi.dll).
  423.  
  424.    Select "Content Types" add the same extension ".php"
  425.    and enter the content type. If you choose the CGI exe
  426.    file, enter 'wwwserver/shellcgi', if you chose the
  427.    ISAPI module, enter 'wwwserver/isapi' (both without quotes).
  428.  
  429. ----------------------------------------------------------
  430.  
  431.  Installing PHP on Windows with Xitami
  432.  
  433.   This section contains notes and hints specific to Xitami.
  434.  
  435.   This list describes how to set up the PHP CGI binary
  436.   to work with Xitami on Windows.
  437.  
  438.    Make sure the webserver is running, and point
  439.    your browser to xitamis admin console
  440.    (usually http://127.0.0.1/admin), and click on
  441.    Configuration.
  442.  
  443.    Navigate to the Filters, and put the
  444.    extension which php should parse (i.e. .php)
  445.    into the field File extensions (.xxx).
  446.  
  447.    In Filter command or script put the path and name
  448.    of your php executable i.e. c:\php\php.exe.
  449.  
  450.    Press the 'Save' icon.
  451.  
  452. ----------------------------------------------------------
  453.  
  454.  Installing PHP on Windows with Netscape servers.
  455.  
  456.  
  457.   To Install PHP as CGI (for Netscape Enterprise Server, iPlanet, perhaps Fastrack)
  458.  
  459.    Copy php4ts.dll to your systemroot (the directory where you installed windows)
  460.  
  461.    Make a file assocition from the command line (type the 2 following lines)
  462.     assoc .php=PHPScript
  463.     ftype PHPScript=c:\php\php.exe %1 %*
  464.  
  465.    In the Netscape Enterprise Administration Server create a dummy shellcgi
  466.    directory and remove it just after (this step creates 5 important lines in
  467.    obj.conf and allow the web server to handle shellcgi scripts)
  468.  
  469.    In the Netscape Enterprise Administration Server create a new mime type
  470.    (Category:type,Content-Type:magnus-internal/shellcgi,File Suffix:php)
  471.  
  472.    Do it for each web server instance you want php to run
  473.  
  474.    More details http://benoit.noss.free.fr/php/install-php.html
  475.  
  476.  
  477.   To Install PHP as NSAPI (for Netscape Enterprise Server, iPlanet, perhaps Fastrack)
  478.  
  479.    Copy php4ts.dll to your systemroot (the directory where you installed windows)
  480.  
  481.    Make a file assocition from the command line (type the 2 following lines)
  482.     assoc .php=PHPScript
  483.     ftype PHPScript=c:\php\php.exe %1 %*
  484.  
  485.    In the Netscape Enterprise Administration Server create a new mime type
  486.     (Category:type,Content-Type:magnus-internal/x-httpd-php,File Suffix:php)
  487.  
  488.    Stop your web service and edit obj.conf
  489.     At the end of the Init section, place these 2 lines (necessarily after mime type init!)
  490.     Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="c:/php/sapi/php4nsapi.dll"
  491.     Init fn="php4_init" errorString="Failed to initialise PHP!"
  492.  
  493.    In The < Object name="default" > section, place this line necessarily after all 'ObjectType' and before all 'AddLog' lines!
  494.     Service fn="php4_execute" type="magnus-internal/x-httpd-php"
  495.  
  496.    At the end of the file, create a new object called x-httpd-php, by inserting this lines
  497.     <Object name="x-httpd-php">
  498.     ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
  499.     Service fn=php4_execute
  500.     </Object>
  501.  
  502.    Restart your web service and apply changes
  503.  
  504.    Do it for each web server instance you want php to run
  505.  
  506.    More details http://benoit.noss.free.fr/php/install-php4.html
  507.  
  508. ----------------------------------------------------------
  509.  
  510. Problems?
  511. =========
  512.  
  513.  Read the FAQ
  514.  
  515.   Some problems are more common than others.  The most common ones
  516.   are listed in the PHP FAQ, found at www.php.net/FAQ.php
  517.  
  518.  Common problems with Windows
  519.  
  520.   The following problems often occur with IIS/PWS, but some points may
  521.   also apply to other servers.
  522.  
  523.   For test purposes it is best to use just a simple test script. One
  524.   containing just the following line will suffice:
  525.   <?php phpinfo();?>
  526.  
  527.   You have installed PHP, but when try to access a php script file via your
  528.   browser, you get a blank screen:
  529.  
  530.    Do a 'view source' in the web browser and you will probably find that you
  531.    can see the source code of your php script. This means that the web server
  532.    did not send the script to php for interpretation. Something is wrong with
  533.    the server configuration - double check the server configuration against
  534.    the php installation instructions.
  535.  
  536.   You have installed PHP, but when try to access a php script file via your
  537.   browser, you get a server 500 error:
  538.  
  539.    Something went wrong when the server tried to run PHP. To get to see a
  540.    sensible error message, from the command line, change to the directory
  541.    containing php.exe and run <literal>php.exe -i</literal>
  542.    If php has any problems running, then a suitable error message will be displayed
  543.    which will give you a clue as to what needs to be done next.
  544.    If you get a screen full of html codes (the output of the phpinfo() function) then
  545.    php is working ok, and your problem may be related to your server configuration
  546.    which you should double check.
  547.  
  548.   You have installed PHP, but when try to access a php script file via your
  549.   browser, you get the error:
  550.    cgi error:
  551.    The specified CGI application misbehaved by not returning a complete set of
  552.    HTTP headers. The headers it did return are:
  553.  
  554.    This error message means that php failed to output anything at all.
  555.    From the command line hange to the directory containing php.exe. Run
  556.    php.exe -i
  557.    If php has any problems running, then a suitable
  558.    error message will be displayed which will give you a clue as to what needs to
  559.    be done next. If you get a screen full of html codes (the output of the
  560.    phpinfo() function) then php is working ok.
  561.  
  562.    Once php is working at the command line, try accessing the php script via the browser again.
  563.    If it still fails then it could be one of the following:
  564.  
  565.    file permissions on your php script, php.exe, php4ts.dll, php.ini or any php
  566.    extensions you are trying to load are such that the anonymous internet user
  567.    ISUR_<machinename> cannot access them.
  568.  
  569.    The script file does not exist (or possibly isn't where you think it is
  570.    relative to your web root directory). Note that for IIS you can trap this error by ticking
  571.    the 'check file exists' box when setting up the script mappings in the Internet Services
  572.    Manager. If a script file does not exist then the server will return a 404 error instead.
  573.    There is also the additional benefit that IIS will do any authentication required for you
  574.    based on the NTLanMan permissions on your script file.
  575.  
  576.  Other problems
  577.   If you are still stuck, someone on the PHP installation mailing list may be
  578.   able to help you. You should check out the archive first, in case
  579.   someone already answered someone else who had the same problem as
  580.   you. The archives are available from the support page on www.php.net
  581.   To subscribe to the PHP installation mailing list, send an empty mail to:
  582.  
  583.   php-install-subscribe@lists.php.net
  584.  
  585.   The mailing list address is php-install@lists.php.net
  586.  
  587.   If you want to get help on the mailing list, please try to be
  588.   precise and give the necessary details about your environment
  589.   (which operating system, what PHP version, what web server, if
  590.   ou are running PHP as CGI or a server module, etc.), and
  591.   referably enough code to make others able to reproduce and test
  592.   our problem.
  593.  
  594. Bug reports
  595. ===========
  596.  
  597.  If you think you have found a bug in PHP, please report it.  The
  598.  PHP developers probably don't know about it, and unless you
  599.  report it, chances are it won't be fixed. You can report bugs
  600.  using the bug-tracking system at http://bugs.php.net/
  601.  
  602.  Read the Bugs-Dos-And-Donts at
  603.  http://bugs.php.net/bugs-dos-and-donts.php
  604.  _BEFORE_ submitting any bug reports!
  605.  
  606.