|
|
|
|
|
by girvo
4273 days ago
|
|
The only way to set PHP up as a daemon with shared execution and shared processes responding to requests is to use something like ReactPHP[0] -- even with mod_php, php5-fpm or similar, the execution context is still thrown away. The only difference between that and CGI is that the compiled byte code can be cached and the start-up costs are minimised as the bare interpreter process is kept around. Shared-nothing turns out to be really nice for scaling web apps. One of the few things PHP got right from the get-go. [0] http://reactphp.org |
|