Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Manage the set_time_limit function
This guide explains how to enable or disable the PHP function set_time_limit of a Web Hosting.
Preamble
set_time_limitis a PHP function that sets the 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 beyond the script execution time limit (max_execution_time) defined in the Manager.
Enable or disable the PHP set_time_limit function
To access website management:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product concerned:
- Click on Manage under Advanced settings:

- Click on the PHP / Apache tab.
- Click on the toggle switch On/Off as desired:

- Click on the Save button to validate the changes.
Link to this FAQ: