Do not set max_execution_time for the whole WordPress instance
-
Hey Thimo,
sorry for bothering you again. But can you please not set the max_execution_time for the whole WordPress project?
It is not recommended to set the max_execution_time (e.g. you used
set_time_limit
) directive in PHP to 0, as this can cause scripts to run indefinitely. This can lead to problems with the server, particularly with scripts that use a large amount of resources, such as loops that run indefinitely or queries that never end. It is therefore important to carefully limit the execution time of scripts in order to avoid server issues. It is more sensible to set an appropriate value for the max_execution_time directive that is tailored to the specific requirements of the script and the available server resources.More on this for example here: https://stackoverflow.com/a/4307071
Thanks!
- The topic ‘Do not set max_execution_time for the whole WordPress instance’ is closed to new replies.