> It's not exactly a great mystery getting PHP working with either of these web servers. It's *very* well understood so you can't be too far away.
Then show me all the resources online about PHP, that explain how to get this to work. There are none. There is only the manual & extremely basic examples, which do not explain anything.
If you show me at least 3 different SUFFICIENT resources from 3 different sources, I will acknowledge my low quality search effort.
> It's perfectly possible to get slasharguments working with nginx and is documented in the Moodle nginx page.
Could you please quote, where I did not get it to work?
I have them set up since the beginning. They are working. But Moodle's PHP is not working.
After disabling slash arguments, the JavaScript related things are still not working.
> The connection to the database is nothing whatever to do with the web server. If you have it running enough to display the database connection error message then you've got nginx working - at least to a point.
If that is the case, then changing from Apache2 to NGINX and changing NOTHING about Moodle would have worked instantly, as is usually the case with any other sane language, like Go,
Java/Kotlin, Rust, Ruby, etc. etc. etc.....
I have done this more than ten times in the past week & the first time it did not work is with Moodle, i.e. stone-old PHP.
> Anyway - I'm completely lost where you have got to. It might help (me) if you reiterate what is working and what isn't.
So, you are agreeing, that PHP is a failure in this case, because if it'd be well usable, it would be fairly easy to find the issue, since I supposedly, according to the documentation, only need to add the PHP snippet & everything works.
> Your contempt for PHP is irrelevant. If you want to use Moodle then you're stuck with PHP. Nobody is forcing you. (Well, maybe they are but that's not our problem!).
Where exactly did I share "contempt" regarding PHP? I had no opinion on it, because I'm not a caveman, who uses PHP in daily life.
I just noticed now, how terribly unusable it is. Truly a work from the mid 90's. Feels more like from the mid 60's, though.
> This sort of thing is usually followed by "the only language I know is javascript" big grin.
Exactly, what I thought this whole time. "The only language I know is PHP." is coming across, when reading those snarky replies.
Until now, I thought JavaScript is one of the worst languages possible to use on the web. This experience showed me a different story.
PHP is pretty much on the same level as JavaScript or maybe even lower, because when there is an issue with JavaScript, there are at least plenty of resources online explaining & fixing all the faults JavaScript offers.
With PHP it's a desert, with a couple of questions & replies, which youngest dates are already more than 10 years old.
I wouldn't have expected Moodle to be such a pain in this regard, as I have already set up Nextcloud & other popular PHP products over the years & even though there were sometimes problems, it was never this bad. Well, except Flarum (Forum software), which was a huge pain, too, a couple of years ago. (At least Flarum worked in the end.)
Anyway, your arrogant & derogatory tone in your replies tells a lot about what kind of voices are accepted in the Moodle community. I would have never expected this to be the case for this type of software, which should be especially welcoming & helpful.