How do I configure Apache2 to allow multiple simultaneous connections from same IP address?

I discovered the answer to my problem. It turns out others have encountered this difficulty before:

Simultaneous Requests to PHP Script

The key detail is that file-based sessions in PHP cause all requests from the same client to be processed sequentially in a queue, rather than in parallel.

In order to solve this problem, it is necessary to make a call to session_write_close() in every PHP script as soon as session handling is finished.

— David Jones

Leave a Comment