D
D
dark_king_132020-03-21 09:57:20
GitHub
dark_king_13, 2020-03-21 09:57:20

Does PHP run on GitHub Pages?

If the site has a server part for sending emails to mail in PHP, will the site work on GitHub Pages, or does it need to be deployed on heroku?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan Bogachev, 2020-03-21
@dark_king_13

GitHub Pages only provides hosting for static, no server scripts can be run there. So yes, if you need PHP, then this option will not work.

A
Alexander, 2020-03-21
@anudas

Can gh pages with AJAX submit forms to google forms
Here is a working version https://github.com/jsdevel/google-form

D
DmlD, 2021-05-15
@DmlD

As for me, only the source code can be posted there. If you do not have php, then the site will display normally. He has some problems with php. And so, you can put your site with php there, but it will work like the source code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question