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
for a Web Hosting.
Introduction
set_time_limit
is a PHP function that sets the maximum execution time of a script in seconds. If this limit is reached, the script is terminated and a fatal error is returned.
set_time_limit
cannot be used to set values beyond the script execution time limit (max_execution_time) set in the Manager.
Enable or Disable the PHP Function set_time_limit
To modify the PHP configuration:
- log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Firefox
- click on the icon in the top right corner of the interface (or navigate using the left sidebar menu, for example)
- choose Website (the Web & Domain universe)
- click on the name of the relevant object in the displayed table
- click on the Advanced Settings button
- click the toggle button On/Off as desired (in the PHP tab)
- click the Save button to validate the changes
Link to this FAQ: