php installation on windows server 2012
Install PHP with WebPI
- Open WebPI
- search for PHP
- Select required versions and click on Add
- Click on Install
- Accept the license
- Click Finish
Installation path would be C:\Program Files (x86)\PHP\%version
To quickly verify its working, place info.php under docroot C:\inetpub\wwwroot.
You can verify it using http://localhost/info.php
<?php phpinfo(); ?>