What is the difference between ASP.NET and PHP?

The main difference between ASP.NET and PHP are given below:

ASP.NET PHP
A web application framework. A server-side scripting language.
It is designed for use on Windows. It is Platform independent
Code is compiled and executed. Interpreted mode of execution.
It has a license cost associated with it. PHP is open-source and freely available.