Fatal error: Maximum execution time of 30 seconds exceeded.
Moderators: egami, macek, gesf
-
- New php-forum User
- Posts: 7
- Joined: Fri Nov 22, 2002 7:48 am
this is in your php.ini file, don't forget to restart server after modify if php
run as module.
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 30 ; Maximum execution time of each script, in seconds
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
Best regards Stanislav
run as module.
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 30 ; Maximum execution time of each script, in seconds
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
Best regards Stanislav
kick_tisho wrote:this is in your php.ini file, don't forget to restart server after modify if php
run as module.
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 30 ; Maximum execution time of each script, in seconds
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
Best regards Stanislav
Thanks Stanislav!
p.s. I don't know what you mean by "...restart.. if run by module"?
-
- Last Samuray
- Posts: 824
- Joined: Sun Jun 02, 2002 3:09 am
if you want to run your script more than 30 seconds use set_time_limit() function
Pejone wrote:if you want to run your script more than 30 seconds use set_time_limit() function
Hey Pejone,
Thanks for the reply. Does this override the setting in the php.ini.
This means it will run for more than 30seconds for the script in question ONLY..right?
-
- Last Samuray
- Posts: 824
- Joined: Sun Jun 02, 2002 3:09 am
yes.
but if set_time_limit denined at php.ini it would not be working...
but if set_time_limit denined at php.ini it would not be working...