To me PHP is still a great tool to do these sort of stuff. Not to do a whole application, it was not what it was designed for, but for simple stuff it's great!
And it's improved a lot PHP, nowadays it's not that bad language...
And it's improved a lot PHP, nowadays it's not that bad language...
The thing is that PHP is unbeatable for doing simple stuff, for example a simple contact form in a website, or a page where you have to book slots, and similar stuff like that, since you add a few PHP instruction to the site, upload it to a webserver, enable PHP that is super easy to install, and done. Need to do a modification? You can connect through SSH to the server and edit the PHP files in /var/www with vim, no need to compile, have a build system, restart services, nothing like that!