execution-time

Maximum execution time in phpMyadmin

做~自己de王妃 提交于 2019-11-26 04:33:34
问题 When I try to execute (some) queries in phpMyadmin I get this error Fatal error: Maximum execution time of 60 seconds exceeded in C:\\xampp\\phpmyadmin\\libraries\\dbi\\mysql.dbi.lib.php on line 140 because I have a very large table (over 9 millions records) I have edited the file C:\\xampp\\php\\php.ini and changed the value of \"max execution time\" from 60 to 1000 then restarts the PHP and still have the same error. Any solution? 回答1: I have the same error, please go to xampp\phpMyAdmin

How to increase maximum execution time in php [duplicate]

别来无恙 提交于 2019-11-26 01:14:54
问题 This question already has an answer here : Increase PHP Script Execution Time [duplicate] (1 answer) Closed 6 years ago . I want to increase maximum execution time in php , not by changing php.ini file. I want to Increase it from my php file. Is this possible? 回答1: ini_set('max_execution_time', '300'); //300 seconds = 5 minutes ini_set('max_execution_time', '0'); // for infinite time of execution Place this at the top of your PHP script and let your script loose! Taken from Increase PHP