how to circumvent a php 30 second time out

Posted in php and tagged .

3 Comments

  1. Hi!
    couldn’t you use a .htaccess file with
    php_value max_execution_time 60
    in it?
    cheers

  2. Hosts do not always allow me to use .htaccess or change php settings. After a few incidents where scripts just would not run on a limited account, I wanted a scripted solution that works independant of using IIS/ Apache server settings. This one ain’t a ‘killer’ solution, but it works independant. It also gives me the option to relocate a php page after sending headers.

  3. This is a neat way to do it.

    I would have done it using php’s inbuilt timoutout function, but you do make a case for relocating after sender headers.

    Keep up the good work

    Vanessa

Leave a Reply

Your email address will not be published. Required fields are marked *