1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Unfreezing the limits: memory and run time of the scripts
The execution time limit of a script and the memory limit of hostings on our old platform are respectively:
- 30 seconds and 128 MB under PHP 5.3 and above
- 10 seconds and 96 MB under PHP 5.2
The script execution time will thus be 5 minutes for 1 hour and the memory limit will be 128 MB.
That said, to enjoy a higher limit, you are advised to migrate to our new platform.
To find out more
We restrict the memory and execution time of scripts for the purposes of security and performance of our shared servers. For example, an infinite loop caused by a programming bug would take up a huge amount of resources and would penalise other customers sharing the same machine.
These settings have been defined so as to allow the vast majority of scripts to operate normally while co-existing fairly and harmoniously in a shared environment, whether sites have 1 or 1000 simultaneous visitors. The seconds measured relate to the CPU time spent executing PHP code within the script, with time taken to fetch external data not generally being counted. The time spent processing this data is included, however (e.g. image resizing, decompressing files, etc.).
From the PHP material: "The set_time_limit() function and the max_execution_time configuration command only affect the execution time of the script itself. Any time spent on activity that happens outside the execution of the script such as system calls via system(), stream operations, database queries, etc. is not included when determining the maximum time that the script has been running."