如何在github上发布.php页面而不是.html来演示一些php内容? [英] How to publish .php page instead of .html at github to demo some php content?

查看:109
本文介绍了如何在github上发布.php页面而不是.html来演示一些php内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在看下面的演示- http://blueimp.github.com/jQuery-File-Upload/

I am looking at the following demo - http://blueimp.github.com/jQuery-File-Upload/

据我在演示中的理解,php文件是从github提供的,这意味着php内容可以从github提供/运行.

To my understanding in the demo, php files are being served from github which means php content can be served / run from github.

我了解通过此链接从github托管的代码发布html内容的过程-
http://help.github .com/pages/

我只是想知道如何显示.php页面作为演示,就像上面的blueimp一样.

I understand the process to publish html content from code hosted at github via this link -
http://help.github.com/pages/

I am just curious to know how can I show a .php page as a demo, similar to what is done in blueimp above.

我在 http://synechron.github.com/index2.php 尝试了类似的操作,但是而不是在浏览器窗口中显示页面,而是通过Google chrome和IE9 index.html显示页面.

I tried similar thing at http://synechron.github.com/index2.php
but instead of displaying in the browser window the page gets downloaded in Google chrome and in IE9 index.html is displayed.

预先感谢!

推荐答案

Github Pages不是功能齐全的Web主机.它不会执行PHP或任何其他任意代码.

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

这篇关于如何在github上发布.php页面而不是.html来演示一些php内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆