News for hackers. Stuff that matters.
Re:What Were CGI Scripts? by deckard1 on Sunday July 21, 2019 @06:36PM (#20494098)
> PHP came along and killed cgi-bin

PHP was using CGI like Perl. And then PHP had Apache's mod_php, which I believe is still widely used today.

Perl, of course, had mod_perl. And later, PSGI/Plack followed by Catalyst, Mojolicious, Dancer, etc.

Re:What Were CGI Scripts? by johannes1234321 on Sunday July 21, 2019 @09:11PM (#20494728)
mod_perl had the issue that it had hooks deep into the webserver, which wasn't "shared hosting safe" mod_php had less hooks and some basic cross-vhost-access mitigations (Safe_mode oben_basedir etc.) which allowed independent users to put PHP scripts on the same server, which in turn made web hosting cheap.
Re:What Were CGI Scripts? by chriswarbo on Monday July 22, 2019 @12:57PM (#20499895)
When I last used PHP (about 5 years ago) it was common to use it via FastCGI "for performance". I'm not sure how true that reasoning was, or how the speedups of 7.x have changed things, but (Fast/S/whatever)CGI still seems prevalent.