Earlier quoted context omitted.
I’m the same way, even for little side projects at work. Basic old-school PHP is effortless to setup and maintain on a server. It just works. This means my little side project can remain a little side project, instead of become a burden with a bunch of unnecessary complexity that modern frameworks introduce. Anytime a hello-work tutorial starts with running a command that generates 50 boilerplate folders/files, I die…
What's your web server? To connect PHP with nginx you need a bunch of arcane configuration.
This is pretty quick and painless to setup. SLES had a single command for it back when I used it, if I remember correctly. I currently have a simple Ansible playbook for it on RHEL.
It’s certainly much more straightforward than deploying Flask to production, especially if just using the default document root and not getting into virtual hosts.
I thought about going to nginx once, but as I started looking into it, I had to stop myself and ask why, as Apache was more than adequate for what I was doing, I had no issues with it in the past, and the setup was dead simple. It would be change for the sake of change, and seemed more annoying to boot, to your point.