Stefan Bruhn wrote:
> Hvordan indstiller jeg max_execution_time inde fra en php side? (eller
> via .htaccess)
Fra
http://php.net/manual/en/function.set-time-limit.php:
"void set_time_limit (int seconds)
Set the number of seconds a script is allowed to run. If this is reached,
the script returns a fatal error. The default limit is 30 seconds or, if
it exists, the max_execution_time value defined in the configuration file.
If seconds is set to zero, no time limit is imposed."
I et php-script kan man fx bruge:
set_time_limit(100);
Fra
http://php.net/manual/en/configuration.php:
"max_execution_time integer
This sets the maximum time in seconds a script is allowed to take before
it is terminated by the parser. This helps prevent poorly written scripts
from tying up the server. The default setting is 30."
I en .htaccess fil kan man fx bruge:
php_value max_execution_time 100
mvh Thomas