Step by step installation guide of php in window.
1) Download and install PHP from http://windows.php.net/download/
2) Unzip php. In my case, I unzipped to C:\php\
3) Rename C:\php\php.ini-development to php.ini
4) Edit your php.ini
Open php.ini in a text editor.
find doc_rootthen change it to point to whatever your Apache DocumentRoot is set to.
like: doc_root = “C:\public_html”
Find extension_dir
and change like extension_dir = “C:\php\ext”(remove the ; from in front of it also)
5) Editing Apache Conf File
Open httpd.conf in text editor
Location: should be start-menu shortcut “Apache HTTP Server 2.2 > Configure Apache Server > Edit the Apache httpd.conf Configuration File”.
Either at the very beginning or end of the file add the following lines:
LoadModule php5_module "C:/php/php5apache2_2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/php"
6) That's it now Testing
To test u jsut create a php file like phpinfo.php with the following codes
<?phpinfo();?>
Save it and put http://localhost/test.php in url...chk the output.
Thanks






