time limit on exec()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sonnich

    time limit on exec()

    Hi all!

    I excute a bat file I create using exec() (using pdftk - exec() cannot
    run it directly, so I create a bat file and use that.

    Sometimes I get a time out when running large files.

    How can I change that?

    BR
    Sonnich

  • Manish

    #2
    Re: time limit on exec()


    Is it related to set_time_limit () function (php in-built function).

    Try calling set_time_limit( 0); at the start of the script.


    Sonnich wrote:
    Hi all!
    >
    I excute a bat file I create using exec() (using pdftk - exec() cannot
    run it directly, so I create a bat file and use that.
    >
    Sometimes I get a time out when running large files.
    >
    How can I change that?
    >
    BR
    Sonnich

    Comment

    Working...