Please some one tell me that How can I run PHP on my local computer. As we install IIS to run ASP on local computer. What should I install for PHP. If it needs apache server then please tell me from where I can get it for free and will it work on windows operating system.
You can just use the IIS. Though it's more comfortable to install XAMPP. Don't forget to change the port. Eg. localhost:80 ---> IIS localhost:8080 ---> XAMPP (Apache)
PHP can be run in several ways. If you have IIS installed, then download the PHP setup and install. Once installed, you need to web share the folder where the PHP script is residing. Use http://localhost/--foldername/script.php OR Install WAMPSERVER, (it is provided free to download, just google it, you will get download link) Place you script in c:\wamp\www\somefoldername\script.php start the wamp server and browse http://localhost/somefoldername/script.php
WAMP server is a great piece of software for a development machine, I highly recommend it. Be sure to have not start up when Windows starts, you can always turn it on manually when you need it.