Compile php to html version