A
A
abubekovdd2017-07-03 09:21:16
PHP
abubekovdd, 2017-07-03 09:21:16

How to increase PHP script connection limit for Apache?

Good day!
The situation, when running a super-complex script on the site (which, according to the idea, will be executed in a couple of minutes), how to configure Apache so that in the next browser tab on the same site, you can work with other scripts or pages? By default, nothing will open in the second tab until the script finishes running in the first one. Of course, you can work in different browsers, but I would like to work in one and in different tabs.
I ask the help of the almighty!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Korobkov, 2017-07-03
@BorisKorobkov

We need to design the application correctly.
Firstly, do not keep the session open (it is because of the lock on the session file that the second process is waiting for the end of the first one). As a last resort, read the data from the session and immediately close it.
Second, lengthy scripts should not be run from the web. They need to be queued and processed by a cron or a daemon.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question