I've done some html and javascript before but not php.
i have web server, php 7.4, along with mariadb installed.
web server has been set up with a virtual host and php installed (aforementioned php 7.4).
so, here's what works - i can connect in to a sample index.htm file and it will display, along with javascript, so that's a basic start.
however, when i try and connect to sample.php (just a basic php file i downloaded) i get '500 internal server error' and it doesn't load.
if i change the type to htm/html then it loads, but the php portions do nothing.
is there a step that I'm missing in getting the php portion to run? i feel like a service must need starting etc.
enabling php in web server
Re: enabling php in web server
It all started working when i switched to https in web server. oh well.
Re: enabling php in web server
It ended up working after a while on it's own, but curiously while it was working displaying web pages i could no longer log into mariadb, or the TOS online app.
Then, after a couple of days, everything started work together and i could do it all. no idea what happened - i was checking every day and it was just web server until one day i could access all three.
Then, after a couple of days, everything started work together and i could do it all. no idea what happened - i was checking every day and it was just web server until one day i could access all three.