Download PHP5 the Windows Binaries: http://uk3.php.net/get/php-5.2.9-2-Win32.zip
Step1.
Unzip the file to C:\server\php.
Step2.
You must include the Windows PATH environment variable by using following steps.



Step 3.
Go to C:\server\php and find the php.ini-recommended. Rename this file to php.ini.
Find the line with extension_dir = “./” and change it to: extension_dir = “C:\server\php\ext”
Find the line with ;session.save_path = “/tmp” and change it to: session.save_path = “C:\server\tmp”
also removing semicolon ; at the beginning.
Find the line with short_open_tag = Off and change it to:short_open_tag = On
Please also uncomment the lines by removing semicolon ; at the beginning of the Windows Extensions of the as needed:
The most used extensions for most php scripts are:
;extension=php_curl.dll
;extension=php_mbstring.dll
;extension=php_exif.dll
;extension=php_gd2.dll
;extension=php_mcrypt.dll
;extension=php_mysql.dll
;extension=php_sockets.dll
Please note enable both the php_mbstring.dll and php_exif.dll DLL’s in php.ini. The php_mbstring.dll DLL must be loaded before the php_exif.dll DLL so adjust your php.ini accordingly.
Step 4
To find out if our PHP is working, from the start menu – run and type cmd. In the command prompt window type php -v. The outcome will be something like this.



