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