3 ms·
PHP is not supposed to have persistent process of any sort. It's stateless (if you shard/share sessions well, it's super easy to scale).
by pornel 16y ago
PHP is not supposed to have persistent process of any sort. It's stateless (if you shard/share sessions well, it's super easy to scale).
- nir 16y agoExcellent point, and often (as now) overlooked. PHP does have some brilliant design choices, for example attaching itself to the Apache process, terminating when the request ends - this makes a lot less vulnerable to issues like memory handling. Some extensions may leak like a sieve, but since it's all cleaned up when the request ends it never really becomes a problem.