3 ms·
They made it a long time ago. It's called CGI [1]. Seriously, there's no inherent PHP advantage so you have to build something new. It is only that Apache pack
by m000 5y ago
They made it a long time ago. It's called CGI [1].
Seriously, there's no inherent PHP advantage so you have to build something new. It is only that Apache package maintainers started shipping a mod_php package that required almost zero configuration to get up and running. Then every other web server followed suit.
On the other hand, alternatives for other languages were either slow (i.e. CGI-based) or harder to configure (e.g. mod_python [2]).
[1] https://docs.python.org/3/library/cgi.html https://docs.python.org/3/library/cgi.html
[2] http://modpython.org/ http://modpython.org/