Leo
Leo

Reputation: 1809

Limit of concurrent PHP scripts

I have some PHP scripts that process data unfortunately I can only run 6 script simultaneously it seems that there is some sort of limitation in php or apache that makes the 7th script waits until another script ends

the script only processes data, there isn't any kind of connection with the database or any web request

How can I increase this limit?

Upvotes: 1

Views: 970

Answers (2)

Ashish-G
Ashish-G

Reputation: 417

@Leo - How are you running these scripts simultaneously? Is it web browser calling it (as you have mentioned apache in question)? -- browser has simultaneously connection limit. OR some other scenario.

Upvotes: 3

Hirendrasinh S. Rathod
Hirendrasinh S. Rathod

Reputation: 834

place this function top of each page.

set_time_limit(0);

more details you can found on
http://php.net/manual/en/function.set-time-limit.php

Upvotes: 1

Related Questions