When is PHP.INI called ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tony@tony.com

    When is PHP.INI called ?


    Is this read before each script or just when the interpreter is
    first started?

    tony
  • Rik

    #2
    Re: When is PHP.INI called ?

    tony@tony.com wrote:[color=blue]
    > Is this read before each script or just when the interpreter is
    > first started?[/color]

    To my knowledge, when the webserver is started.

    Grtz,
    --
    Rik Wasmus


    Comment

    • Alan Little

      #3
      Re: When is PHP.INI called ?

      Carved in mystic runes upon the very living rock, the last words of
      <tony@tony.co m> of comp.lang.php make plain:
      [color=blue]
      > Is this read before each script or just when the interpreter is
      > first started?[/color]

      If you're running PHP as a module, it's read when the server starts. If
      you're running it as a CGI, it's read with each execution.

      --
      Alan Little
      Phorm PHP Form Processor

      Comment

      • tony@tony.com

        #4
        Re: When is PHP.INI called ?

        In article <Xns97DAD217650 C0alanphormcom@ 216.196.97.131> , alan@n-o-s-p-a-
        m-phorm.com says...[color=blue]
        > Carved in mystic runes upon the very living rock, the last words of
        > <tony@tony.co m> of comp.lang.php make plain:
        >[color=green]
        > > Is this read before each script or just when the interpreter is
        > > first started?[/color]
        >
        > If you're running PHP as a module, it's read when the server starts. If
        > you're running it as a CGI, it's read with each execution.
        >
        > --
        > Alan Little
        > Phorm PHP Form Processor
        > http://www.phorm.com/
        >[/color]

        Ah .. thanks Alan thats very handy to know.

        tony

        Comment

        Working...