2 ms·
That's not just PHP, you can use anything that supports CGI, and lots of shared hosting have pre-installed Perl and Python as well as PHP.
by didibus 6y ago
That's not just PHP, you can use anything that supports CGI, and lots of shared hosting have pre-installed Perl and Python as well as PHP.
- bouncycastle 6y agoYeah, I remember fiddling with the cgi-bin directories back in the day, with the permissions and what not. With PHP you can just drop it anywhere in the htdocs and done.
- TazeTSchnitzel 6y agoCGI isn't quite as efficient as PHP with, say, FastCGI. PHP has inherited a CGI-like model but improved it.
- Kwpolska 6y agoShared hostings might offer Python, but it’s probably neglected (outdated, missing database connection libraries, etc.) and nobody really uses that. Effectively all Python web development is done using WSGI frameworks (or more recently, ASGI), and those frameworks expect to be in long-running processes, usually behind a reverse-proxy. Starting up the Django dev server takes about one second on a blank site, and it increases with code size. The `cgi` module exists, but it’s badly designed, mostly forgotten, and there were plans to remove it (PEP 594).