Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Manage the set_time_limit function
Update 07/07/2026
This guide explains how to enable or disable the set_time_limit PHP function for a Web Hosting service.
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 will stop and return a fatal error.set_time_limitcannot be used to set values exceeding the script execution time limit (max_execution_time) defined in the Manager.
Enable or disable the PHP set_time_limit function
To access the website management:
- Click here to access the management of your website on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the website 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?