How to publish .php page instead of .html at github to demo some php content? November 28, 2022 by Tarik Github Pages is not a full-featured web host. It will not execute PHP, or any other arbitrary code.