Phpprogrammingusing IIS7
Installing PHP on IIS7
The Important Steps:
1.Open Control Panel. Open Programs-> Uninstall Programs.
2.Open the Windows Features on or off.Then IIS7 will create a new folder in C: disk
C:// inetpub/wwwroot
Now Download the VS CODE from Microsoft Web Pages . After downloading run the VS CODE
Press the (ctrl +,) keys together.Write php search section and select php and choose edit in setting.json then add your php-cgi.exe in as following code.Then,write following php scripts and save as:
C://inetpub/wwwroot/ info.php
As a finally press the run button and select add configuration and change the line as same: "url":And choose the Chrome or Microsoft Edge and run the program.
<?php
phpinfo();
?>
Yorumlar
Yorum Gönder