time out

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

    time out

    Hi,

    I've got a website hosted on a Php/Mysql platform.
    The time out set by the admin is 20 s.

    Is there a way in php to dynamically change this value ?

    thx in advance,

    --
    bob


  • Rico Huijbers

    #2
    Re: time out

    bob wrote:
    [color=blue]
    > Hi,
    >
    > I've got a website hosted on a Php/Mysql platform.
    > The time out set by the admin is 20 s.
    >
    > Is there a way in php to dynamically change this value ?[/color]

    See http://www.php.net/manual/en/functio...time-limit.php

    However, as the page says, it is possible that the server has been
    configured to run PHP in safe mode, and if that is the case, you are not
    allowed to change the execution time, and there's nothing you will be
    able to do about that.

    -Rico

    Comment

    • Guillaume Brocker

      #3
      Re: time out

      Rico Huijbers wrote:
      [color=blue]
      > However, as the page says, it is possible that the server has been
      > configured to run PHP in safe mode, and if that is the case, you are not
      > allowed to change the execution time, and there's nothing you will be
      > able to do about that.[/color]

      Yes and to see if PHP is running in safe mode, put a php page on the
      server with just a call to *phpinfo*. Display in your browser and you
      will see detailed information about the PHP engine.

      Comment

      • bob

        #4
        Re: time out

        "Guillaume Brocker" <guillaume.broc ker@ircad.u-strasbg.fr> a écrit dans le
        message news: 40b4ba53$0$1522 2$626a14ce@news .free.fr...[color=blue]
        > Rico Huijbers wrote:
        >[color=green]
        > > However, as the page says, it is possible that the server has been
        > > configured to run PHP in safe mode, and if that is the case, you are not
        > > allowed to change the execution time, and there's nothing you will be
        > > able to do about that.[/color]
        >
        > Yes and to see if PHP is running in safe mode, put a php page on the
        > server with just a call to *phpinfo*. Display in your browser and you
        > will see detailed information about the PHP engine.[/color]

        Ok... unfortunately, the PHP is running in safe mode on this platform :-/
        Thank you very much for your help.

        --
        bob


        Comment

        Working...