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