来源:http://stackoverflow.com/questions/5164930/fatal-error-maximum-execution-time-of-30-seconds-exceeded
(1)modify the parameters in php.ini
max_execution_time = 360 ; Maximum execution
time of
each script,
in seconds (I CHANGED THIS VALUE)
max_input_time = 120 ; Maximum amount of
time each script may spend parsing request data
;max_input_nesting_level = 64
; Maximum input variable nesting level
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB by
default)
(2)set in php script
set_time_limit(0);
(3)set in .htaccess file
<IfModule mod_php5.c>
php_value post_max_size 200M
php_value upload_max_filesize 200M
php_value memory_limit 300M
php_value max_execution_time 259200
php_value max_input_time 259200
php_value session.gc_maxlifetime 1200
</IfModule>
转载于:https://www.cnblogs.com/CheeseZH/p/4858262.html
相关资源:数据结构—成绩单生成器