4 ms·
That's just CGI. You could theoretically do the same with any other language, but PHP is just the most popular.
by jjk7 2y ago
That's just CGI. You could theoretically do the same with any other language, but PHP is just the most popular.
- greggman7 2y agoPHP integrates with the server. It does not have the spawn a new process per request like CGI
- Suppafly 2y agoI don't understand the distinction you're trying to make.
- nicce 2y agoThe difference in resource consumption is huge.
- Nectar0516 2y agoNot having to spawn a new process greatly decreases the time it takes to process a request, which greatly increases the amount of requests you can serve with a given amount of hardware.
- jopsen 2y agoI think dreamhost runs php as fcgi. I'm actually not sure that fcgi is that bad, even for other languages, but most shared hosts will probably limit what you can do in terms of resources.