Hello all,
I make 7 get requests at the same time to one PHP script - two of the requests are successful and the other requests I get an output of Max Execution of 60 seconds exceeded!
The thing is I have put this at the top of my script:
set_time_limit(300000);
I have also set this in my PHP.ini file and have restarted apache several times.
max_execution_time = 300000
Why does it keep giving me this error?!?
Thanks all
Update
I have just looked at firebug and it looks as if all requests are not fully fired i.e. it shows the request is still trying to be made. In this case, is it possible for PHP to throw that error if a request has been made to it but it has not started execution!?
It gives me that error on line 1 - so it didn't even run any part of this script - is this what it means?
Update 2
Just showing the full error:
[Mon Nov 23 13:05:37 2009] [error] [client 127.0.0.1] PHP Fatal error: Maximum execution time of 60 seconds exceeded in C:\wamp\www\webs\process_txt.php on line 1, referer: http://localhost/webs/front-end/path.php
Why does it say line 1?