How utterly stupid do you have to be to engineer software that requires you to have configuration files in a publicly accessible folder? Even most shared hosts now will have a public_html folder and the ability to put sensitive stuff not inside it. The .htaccess hacks are great but they are just patching the symptom, and one slip up and you're back to square one. The best way to do configuration is to have it in envi…
You are correct, you could do almost exactly the same thing in "the whole shitty PHP way of doing things" using FPM pools.
You can do stuff like include /srv/*/pool.ini, right?