on my work server i set PHP settings to be 1024M memory limit and max execution time to zero after all this the script still timeout !! what are other options to make script runs forever if i want thanks in advance.
Asked
Active
Viewed 574 times
1
-
Running a script from a browser or cli? – castis Jun 12 '15 at 21:45
-
i run it from browser. – Macnux Jun 12 '15 at 21:45
-
you're probably running into the limit on your http server. – castis Jun 12 '15 at 21:51
-
what http settings exactly you mean – Macnux Jun 12 '15 at 21:52
-
beats me, what http server are you using. if you dont know, its probably apache. http://stackoverflow.com/questions/9629566/how-to-increase-apache-timeout-directive-in-htaccess – castis Jun 12 '15 at 21:53
-
it is apache actually so only apache timeout for running – Macnux Jun 12 '15 at 21:55
-
i change apache timeout and still script timeout even earlier than before – Macnux Jun 12 '15 at 22:02
-
i've done the above settings for php and apache ans still the script is timeout – Macnux Jun 12 '15 at 22:30
-
Ive helped you as much as I can, someone else should be along soon to help you out. – castis Jun 12 '15 at 22:50
1 Answers
1
I've seen FastCGI and/or PHP-FPM have a timeout where it killed scripts after a certain amount of execution time. If you're using one of those you could look into the settings for that.

sa289
- 1,318
- 2
- 18
- 44
-
the server actually using fastcgi i will check the docs and search to see configurations – Macnux Jun 16 '15 at 02:17
-
@user2381778 I hope you were able to get your issue resolved. If my answer was helpful to you, I'd appreciate if you could mark it as accepted so I can get credit for it. Thanks – sa289 Jul 13 '15 at 20:45