Hello,
I have a php script that interacts with a database. It does thousands of queries... and sometimes it queries more than usual, depending on how it interacts with the database...

When it gets too big, it times out or just stops.

Question is, can I change the timeout value so it can finish? Or is this something that my webhost system admin must change?

    Look at [man]set_time_limit[/man] or [man]ini_set[/man] to change the max execution time

      Look in your php.ini (if possible)
      There the time limit is set (30 seconds by default i believe).
      Just CTRL-F on 30 untill you find it and make it 300 or so.

        Write a Reply...