5mins wow.. I didnt think PHP waited that long.. I think it does 30seconds trying to execute something.. Then if its still going after 30seconds it returns false.. But that could be my set up...
you could try making somthing
Like that...
This is just from the top of my head though.. So its not tested
try using time();
so like
$time=time();
then from there you'll want a timeout $timeout=$time-60;so 60seconds we'll give the script to execute..
then do maybe an if else so we can tell if its executed.. Or not..
But other than that im pretty sure it comes down to the config of your PHP.