Php is an html embeded programming language where as .net is not a language but is a framework that can be incorporated with different languages. Php is an open technology while .net is not . Php run on an operating system and http server where as .net run on windows or IIS. Php doesnot implement oops concept while .net implements. Php support different database but .net can work better with MYSQL server.Php is easily understandable while .net is not that easy.