Is there any reason for a PHP script to return a fatal error of:
Fatal error: Maximum execution time of 60 seconds exceeded in
H:xampplitehtdocsmlm era.php on line 1
When my PHP ini is set to "300000" and further more I set set_time_limit(300000);
in the script itself. Safemode is off. In addition, Apache s timeout has also been set to "300000".
Why would be PHP return this - I am happy to hear any case why this would happen!!
I am using this PHP script mainly to run queries via SQLCMD using the exec function. I get this error after the PHP script has been executing (supposedly) for well over 5 minutes.
Note: When answering this question please assume there is no doubt that I am using the right PHP.ini file etc and what I am claiming is what is actually happening.
Thanks all for any help
P.S. I have asked this question before but thought the other question was getting messy. I have made this more specific in the hope that I can finally close the book on this. Also this a test that I have done and I am not using AJAX any more.
Update
Line 1 of Script in question:
session_start();
ini_set("max_execution_time" , 300000);
error_reporting(0);
ini_set( display_errors , 0 );
(I have added a line break to make it easier to read)