x64architecture / wnmp

An easy Nginx, MariaDB and PHP environment for Windows.
https://wnmp.x64architecture.com
GNU General Public License v3.0
508 stars 110 forks source link

PHP Only Single Thread #115

Closed ikennykachun closed 3 years ago

ikennykachun commented 4 years ago

PHP have start up many children process, however, only the first one can be called. I have to use other program (i.e. php-cgi-spawner) to allow more than 1 PHP thread running.

x64architecture commented 3 years ago

Not sure why this would happen, I also don't know your use case. The PHP Wnmp launches is only meant to be used by nginx. I see no difference between php-cgi-spawner and Wnmp's implementation except maybe theirs uses WaitForSingleObject on the php processes. Closing until further information is provided.