Better multicore cpu support in PHP 6

php.internals

Markus L.

18 years ago
What's the chance that there will be a better multicore cpu support throught a better fork functionality in PHP 6? Today pcntl_fork is available only on Unix/Linux cgi versions. Thanks, Markus

Rasmus Lerdorf

18 years ago
Markus L. wrote:
> What's the chance that there will be a better multicore cpu > support throught a better fork functionality in PHP 6? > Today pcntl_fork is available only on Unix/Linux cgi versions.
This question makes very little sense to me. How is pcntl_fork related to multicore cpu usage? It's not like you only run 1 web server process, so presumably your operating system is already efficiently scheduling things across multiple cpus and multiple cores. Forking the web server process from PHP isn't the right answer to any problem I can think of. -Rasmus