Setting up a Development Server
Intsalling PHP
PHP is a fast and powerful server side scripting language that allows full database interactivity.
Make use of the comprehensive online php manual.
PHP Step 1.
Download PHP and begin installation.
PHP Step 2.
Create a new directory in you Program Files with name php like this:

PHP Step 3.
Now edit the Apache configuration file (httpd.conf) to enable php processing. You can find the configuration file in the Apache installation directory/conf/httpd.conf. On my machine the exact location is: D:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf
PHP Step 4.
Add the following 3 lines to your httpd.conf file at the end of the LoadModule section.
LoadModule php5_module "d:/Program Files/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "D:\Program Files\php"

PHP Step 5.
Now you have to restart Apache.
Start menu -> Programs -> Apache HTTP Server 2.2.3 -> Control Apache Server -> Restart
PHP Step 6.
PHP has now been istalled. To test the installation create a new file in the Apache document root directory (D:\Program Files\Apache Software Foundation\Apache2.2\htdocs) with name info.php using a text editor such as notepad. Put the following 3 lines into this file and then save it.
?php
phpinfo();
?>

PHP Step 7.
Let's try it out. Visit the following URL: http://loclahost/info.php You should get a page similar to this:

PHP is now installing. Next we shall install MySQL