2 ms·
You could get "good enough" support for PHP just by turning on mod_php. PHP was literally made for this. It was a little more work for hosts to get the same out
by chc 13y ago
You could get "good enough" support for PHP just by turning on mod_php. PHP was literally made for this. It was a little more work for hosts to get the same out of Perl or Python or Ruby.
- btilly 13y agoMore work than you indicate. The problem is that you can turn on mod_php and run 50 virtual domains on one webserver with 50 different people in control of each ones. But if you turn on mod_perl, it expects to have complete control of the server, so you needed one web server per mod_perl server. That made shared hosting for mod_perl massively more expensive. Of course you could do CGI scripts in any language. But that has more overhead. That made them both slower and more expensive (a cost the hosting providers passed on).
- mgkimsal 13y agoagreed, although most shared hosts I see are running PHP as CGI (or FCGI) anyway. But, PHP got popular precisely because it didn't demand complete access to the entire server request cycle (unlike, say, mod_perl).