Archived: Download and Install PHP 5.2.2 on Windows

This section describes how to download and install PHP 5.2.2 on Windows systems.

PHP is getting very popular now and becoming the number one scripting language to build dynamic Web sites. Here is what I did to download and install PHP 5.2.2 on my Windows system:

1. Go to the official Website for PHP at php.net.

2. Click the "downloads" links in top menu. You will see the download page.

3. Go to the "Windows Binaries" section and click "PHP 5.2.2 zip package" to start downloading. If you see a newer version available, take that version.

4. Save the downloaded file, php-5.2.2-Win32.zip, 9,954,944 bytes, in a temporary directory.

5. Create a new directory called \local\php and unzip php-5.0.4-Win32.zip in that directory.

6. Open a command window to test the installation:

C:\herong> \local\php\php -version
PHP 5.2.2 (cli) (built: May  2 2007 19:18:26)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

Cool, PHP has been installed on my Windows system now.

Last update: 2015.

Table of Contents

 About This Book

 PHP Installation on Windows Systems

 Integrating PHP with Apache Web Server

 charset="*" - Encodings on Chinese Web Pages

 Chinese Characters in PHP String Literals

 Multibyte String Functions in UTF-8 Encoding

 Input Text Data from Web Forms

 Input Chinese Text Data from Web Forms

 MySQL - Installation on Windows

 MySQL - Connecting PHP to Database

 MySQL - Character Set and Encoding

 MySQL - Sending Non-ASCII Text to MySQL

 Retrieving Chinese Text from Database to Web Pages

 Input Chinese Text Data to MySQL Database

Archived Tutorials

Archived: Download and Install PHP 5.2.2 on Windows

 Archived: Downloading Apache 2.2.4 Binary for Windows

 Archived: Installing Apache 2.2.4 on Windows Systems

 Archived: MySQL 5.0 Download, Installation and Start

 Archived: php_mysql.dll - Configuring PHP to Use MySQL Extension

 Archived: Commonly Used php_mysql.dll Functions

 Archived: mysql_connect() - Creating MySQL Connections

 Archived: Character Set Variables on MySQL 5

 Archived: Non-ASCII Test Analysis on MySQL 5

 Archived: Fetching Non-ASCII Text from MySQL 5

 Archived: Sending Text in Latin1 Encoding to MySQL 5

 Archived: Sending Text in UTF8 Encoding to MySQL

 References

 Full Version in PDF/EPUB