Microsoft KB Archive/323962

From BetaArchive Wiki

Article ID: 323962

Article Last Modified on 6/21/2007



APPLIES TO

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Small Business Server 2000 Standard Edition
  • Microsoft Internet Information Services 5.0



This article was previously published under Q323962

SUMMARY

You can use PHP, which is an HTML preprocessor, to embed scriptable elements directly in an HTML page. PHP is typically used as an alternative to Perl or Python when you develop dynamic Web sites. This article describes how to obtain and install PHP.

back to the top

Choosing a PHP Distribution Package

PHP is available in two different distribution packages:

  • A Zip Package: This package includes support for CGI-based PHP scripts and server API extensions for the ISAPI system that is supported by Internet Information Services (IIS). This package also comes with built-in support for interfacing to the MySQL database and a complete suite of additional extensions.
  • An Installer Package: This package includes support for CGI-based PHP scripts and MySQL. Support for ISAPI and additional external extensions are not included in this package. However, the Installer package installation is more straight forward.

Always choose the latest version of the package that you want to use. To download PHP, visit the following PHP Web site:

back to the top

Installing PHP from a Zip Package

  1. Extract the Zip package by using WinZip or a similar program.
  2. Copy the folder that is extracted to a suitable location (the typical location is C:\PHP).
  3. Follow the instructions in the Install.txt document that comes with the package.


NOTE: Be careful when you follow these instructions because some of the steps require you to edit the registry directly.

back to the top

Installing PHP from the Installer Package

  1. Double-click the installation package that you downloaded.
  2. Click Next.
  3. After you read the license agreement, click I Agree to accept the license agreement and continue the installation.


If you do not agree with the license, click Cancel to quit the installation.

  1. Click either Standard or Advanced to select an installation method, and then click Next.


NOTE: You can complete a Standard installation quickly, but if you use an Advanced installation, you can customize the installation process to create backup copies of files that are typically overwritten during the installation process. Microsoft recommends that you use an Advanced installation if you are updating a previous installation of PHP.

back to the top

Continuing an Advanced Installation

  1. Type the location of the installation folder that you want to use or click Browse to select the location from a file browser, and then click Next.
  2. Click Yes if you want to back up any files that will be overwritten during the installation, and then click Next.


If you click Yes, click Browse to select the location of the files that you want backed up.

  1. Type the location of the folder to which you want to upload files or click Browse to select the location to which you want the files uploaded, and then click Next.
  2. Type the location of the folder that you want to use for storing session data or click Browse to select the location of the folder for this information, and then click Next.
  3. Type the Internet Protocol (IP) address or the name of the Simple Mail Transfer Protocol (SMTP) server that is used when you send e-mail messages, type the e-mail address that is used to send e-mail messages, and then click Next.
  4. Click any of the following settings to select the level of error reporting to use while you process PHP documents, and then click Next:
    • Display all errors, warnings and notices: All potential problems are logged.
    • Display all errors and warnings: Only typical errors are logged.
    • Display errors: Only errors are logged.
  5. Select the type of server for which you want to configure PHP, and then click Next.


NOTE: PHP can automatically configure itself for use with IIS.

  1. Select the file name extensions that the IIS server will identify as PHP documents, and then click Next.
  2. Click Next to install PHP.


You may be prompted to select the Web servers for which you want to configure PHP processing. If so, click the Web servers for which you want to configure PHP, and then click OK.

back to the top

Continuing a Standard Installation

  1. Type the location of the installation folder that you want to use or click Browse to select the location from a file browser, and then click Next.
  2. Type the Internet Protocol (IP) address or the name of the SMTP server that is used when you send e-mail messages, type the e-mail address that is used to send e-mail, and then click Next.
  3. Select the type of server for which you want to configure PHP, and then click Next.


PHP can automatically configure itself for use with IIS.

  1. Click Next to install PHP.


You may be prompted to select the Web servers for which you want to configure PHP processing. If so, click the Web servers for which you want to configure PHP, and then click OK.

back to the top

REFERENCES

For additional information about how to prepare servers for a migration from UNIX to Windows, click the article number below to view the article in the Microsoft Knowledge Base:

323970 HOW TO: Prepare the Target Servers for a UNIX-to-Windows Migration


back to the top









Keywords: kbhowto kbhowtomaster KB323962