How to install PHP for a UNIX-to-Windows Migration

Article translations Article translations
Article ID: 323962 - View products that this article applies to.
This article was previously published under Q323962
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

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.

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:
http://www.php.net

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.

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.
  4. 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.

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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. Select the file name extensions that the IIS server will identify as PHP documents, and then click Next.
  9. 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.

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.
  4. 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.


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









Properties

Article ID: 323962 - Last Review: February 27, 2014 - Revision: 4.0
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
Keywords: 
kbnosurvey kbarchive kbhowto kbhowtomaster KB323962

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com