Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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.