Didn’t glitch make lamp-poc?
Is that the ONLY way? There’s no other way to reliably host my site? That really degrades my opinion of glitch.
No, PHP isn’t natively supported on Glitch, I’m just giving you a temporary fix. Node.js, python flask, and static sites work wonders as many hosting devices have dropped php support due to some scripts only working with servers with fast cgi, and some that don’t use it, etc. Your site does not need php to function correctly. Express + ejs a decent alternative as you have a bit more control over your site.
Bottom line is @RedGuy12 this is the best PHP experience you can get on Glitch right now because PHP isn’t supported. I’m going to make a feature request for official PHP support later and I would love if you voted on it.
Ok but the PHP is working fine. My problem is the forever-loading that sometimes pops up.
Exactly, I don’t think Glitch is going to fix that unless PHP becomes official. A staff member recently said that they don’t have plans to update PHP.
But how is that related to php?
The lamp-poc server is the closest thing to an official PHP project.
where does this get stuck in the startup process? maybe we can figure this out without help from Glitch
It says, “starting” for a second, then “waking up” Up until then, my favicon was showing up. Then it reloads and my favicon disappears. It says “starting” for a few seconds again, then changes to “waking up” again and never changes again.
any more details from the project’s logs?
There’s an ‘r’
And it’s loading at the moment for me.
There is a PID conflict with httpd
I’ll assume restarting changes the PID.
Partially fixed, yay!!
This is caused when the page is open for a suspended period at a time. I solved this by making the page redirect when focus is removed from the page. It redirects to a page hosted on GitHub Pages (because I only used Glitch for the PHP). When the focus is returned to the page, it redirects back to the page the user was on before.
My Discord bot won’t
load to my server it just shows the loading disc and a light gray background. Anyone know why?
Please make your own threat
what does that mean?!?!?!?
I meant make your own thread
Just be careful of adding random bots to your server, make sure to review the code and assure it isn’t a “kick/ban everyone in the server bot”.