In the installation of PHP, i suggest you all to install your software manually. It works better that the auto installation of this software.
Manual installation offers several benefits:
backing up, reinstalling, or moving the web server can be achieved in seconds (see 8 Tips for Surviving PC Failure) and
you have more control over PHP and Apache configuration.
Step 1: download the files
Download the latest PHP 5 ZIP package from
www.php.net/downloads.phpAs always, virus scan the file and check its MD5 checksum using a tool such as fsum.
Step 2: extract the files
We will install the PHP files to C:\php, so create that folder and extract the contents of the ZIP file into it.
PHP can be installed anywhere on your system, but you will need to change the paths referenced in the following steps.
Step 3: configure php.ini
Copy C:\php\php.ini-recommended to C:\php\php.ini. There are several lines you will need to change in a text editor (use search to find the current setting).