Script Time

how to increase script execution time

Page 1 of 1

1 Replies - 849 Views - Last Post: 12 March 2010 - 08:42 AM Rate Topic: -----

#1 ansh9d   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 10-March 10

Script Time

Posted 12 March 2010 - 07:24 AM

My php script say time out.
How to increase php script time execution through code.
Is This A Good Question/Topic? 0
  • +

Replies To: Script Time

#2 dkamenov   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 04-August 08

Re: Script Time

Posted 12 March 2010 - 08:42 AM

View Postansh9d, on 12 March 2010 - 06:24 AM, said:

My php script say time out.
How to increase php script time execution through code.


You can use the set_time_limit() function to set the max. execution time within your php code itself to modify it on the fly.
You can also edit the php.ini and change your max_execution_time option to a higher value if needed.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1