May 12, 2021 ASP.NET
PHP developers be aware that Web Pages can be written in PHP.
At first glance, WebMatrix is thought to support only Microsoft's technology. T his is not true. In WebMatrix, you can write complete PHP applications.
In ASP.NET Web Pages - Create a Site section, you have created an empty Web site named "Demo" with an empty page of type "CSHTML".
Repeat the process of creating an empty site named "Demo_PHP", check "Enable PHP" (shown below), create a blank page of PHP type, and name it "index.php" so that you can create your first PHP site.
Copy the following code to the "index.php" file:
Run the file and see a demo of the PHP page.