3 ms·
Any collection of CGI scripts (like a Perl application) is as easy to deploy as PHP.
by lmilcin 7y ago
Any collection of CGI scripts (like a Perl application) is as easy to deploy as PHP.
- ktpsns 7y agoInterpreted CGI programs have comparably long startup times. FastCGI is an answer which is supported by all major scripting platforms. The thing is: A FastCGI Python script still requires several lines of boilerplate to do the same thing a PHP script can do (i.e. statelessly answering a request). PHP makes that just damned easy.
- lmilcin 7y agoNow that I think, a Python script (not CGI, but with embedded webserver) is even easier to deploy. For PHP you need container to run it (Apache HTTPD, etc.), the Python script you just execute and that's all.
- ktpsns 7y agoThat's right, there are a number of widespread/popular standalone we servers for Python. However, many folks already have some classical web server running and "only" want to add "a grain of" server side dynamics. That's still where PHP excels. Damned easy to get started with.