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?



8.4k

Parallel request: screenshot



8.4k

If I call only this url - works fine!



61.8k
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.