How to publish .php page instead of .html at github to demo some php content?

蹲街弑〆低调 提交于 2019-11-27 00:11:26

Github Pages is not a full-featured web host. It will not execute PHP, or any other arbitrary code.

No, you can’t.

Github Pages let you serve web client content (HTML, Javascript, CSS) without the need of owning and maintaining a web server. You can make sub folders, map your domain into it. Use tools such as Jekyll or Hugo with some basic programming skills, you can make your site work as good as an CMS.

However, it does not allow you to use any backend technology to process and manipulate data/logic.

So, PHP is not possible.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!