Help with a E-mail form

Hey there, I’m building a new portfolio page basing it on a template I found. It has a “contact me” section for people to send me emails but it gives the 405 error everytime I try it. I think it’s something to do with the php file but since I don’t know php I’m having trouble trying to find a solution. Can anybody help out a noob here?

My portfolio:
Php file:


PHP is not supported on GitHub Pages. You’ll need to host your page on a hosting service that offers PHP.