PHP is a scripting language. I know little about such things, but I believe it would be used on a web server to, for example, read a PVD database directly and generate web pages dynamically. I don't know what you mean or hope to achieve by changing the 'format' from HTML to PHP.