Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

php.ini

Guest
Apr 18, 2008 Apr 18, 2008
what do you set your default script timeouts as? I have it at 60 seconds
TOPICS
Server side applications
344
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 19, 2008 Apr 19, 2008
The general answer is that it depends. On my servers I have kept it to 30 seconds as default. But in the scripts which I know will take long then I reset it to whatever number I want at the beginning of the script.

On servers with low traffic, the timeout won't make big difference, but on busy servers, it is recommended to have the script finish its job asap so it could handle more users. So having the shorter timeout is recommended on busy servers.

HTH,
Ketan
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 19, 2008 Apr 19, 2008
how do you write the ini set when needed?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 25, 2008 Apr 25, 2008
LATEST
At the beginning of the script, type in the following command.

set_time_limit ( int $seconds )

You can read more about it at http://de3.php.net/set-time-limit.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines