Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Manage the set_time_limit function
Update 10/05/2026
This guide explains how to enable or disable the PHP function set_time_limit on a Web Hosting plan.
Introduction
set_time_limitis a PHP function that sets the execution time limit for a script, in seconds; if this limit is reached, the script stops and returns a fatal error.set_time_limitcannot be used to set values exceeding script execution time limit (max_execution_time) defined in the Manager.
Enable or disable the PHP function set_time_limit
To access website management:
- Click here to access the hosting & website management section in your Infomaniak Manager (❓: help).
- Click on the name of the product in question.
- Click on Manage advanced settings:

- Click on the PHP / Apache tab:

- Click on the On/Off toggle button as desired:

- Click the Save button at the bottom of the page to apply the changes.
Link to this FAQ: https://faq.infomaniak.com/383
Has this FAQ been helpful?