3 ms·
PHP is one of the easiest language to install on Apache and later web servers. It is also a no brainer to install software written in PHP on those servers. It
by protomyth 5y ago
PHP is one of the easiest language to install on Apache and later web servers. It is also a no brainer to install software written in PHP on those servers. It is a wonder why other language implementors haven't looked at doing the same thing.
- TrispusAttucks 5y agoUsing the [1] PHP-FPM is also a popular (preferred?) way of running PHP whilst not relying on an embedded module and being HTTP server agnostic. [1] https://www.stackscale.com/blog/php-fpm-high-traffic-websites/#What_is_PHP-FPM_and_its_features https://www.stackscale.com/blog/php-fpm-high-traffic-website...
- uranusjr 5y agoBecause it’s out of the language implementors’ hands. Support in Apache, for example, requires Apache to be compiled with certain configuration, so if big Apache distributors don’t compile with support to your language, there’s nothing a language implementor can do to help. It’s like asking why Ruby doesn’t work harder to make itself included by Windows—I’m pretty sure the maintainers wouldn’t object, but they don’t have a say on that anyway.
- protomyth 5y agoThat's not quite right. The PHP implementation doesn't require Apache to do anything special for them. Apache had modules and other servers had things like FastCGI.
- throwaway894345 5y agoI usually work with Go, and it seems a lot nicer just to let it listen on a socket perhaps with Nginx in front of it. Having to install a guest application onto a webserver program has always seemed silly to me.