Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 11 of 13

Re: Deploying PHP to GitHub Pages - is it possible?

Why do you even want to host your PHP site on Github when you have proper servers like DigitalOcean, AWS and others. If it is the server hassles that you want to avoid, then there are services that provides managed PHP site hosting on these servers. As for github pages, I don't think it supports non-static sites.

Copilot Lvl 2
Message 12 of 13

Re: Deploying PHP to GitHub Pages - is it possible?

No, you cannot do that on Github Pages as it only supports static websites, i.e. sites built on html, css, JS.

Copilot Lvl 2
Message 13 of 13

Re: Deploying PHP to GitHub Pages - is it possible?

You can add php file in github repo, but it won't execute or compile your php code this is the same with google drive

 

The good thing is that you can place your php in other server then use github repo html, javascript and call the php via ajax  to load content result so you can have a dynamic page in github.