We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Problem running in parallel

I have windows 10 x64.

Installed OpenServer v 5.2.2

PHP-7.1 x64

Phalcon 3.3.0

In normal mode PHP scripts on Phalcon work fine. But they should be run in parallel, as 1-2 requests are processed and the correct result is produced, and all subsequent requests give the following results

Why this can happen?



14.3k

Parallel request: screenshot



14.3k

If I call only this url - works fine!



79.0k
Accepted
answer

Known problem with Windows OS and Apache 2.0 Handler used as SAPI for PHP.

To mitigate the problem - switch to PHP-CGI instead of Apache module.

So this does NOT happen on GNU/Linux. Only on Windows and Apache 2.0 Handler used as SAPI.