We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 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?


Parallel request: screenshot


If I call only this url - works fine!


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.