php.ini issue

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

    php.ini issue

    Hi,

    I'm running Apache 1.3.29 and PHP 4.2.3 on Windows XP Pro. I built a
    page that runs phpinfo() and it works. The location of the php.ini is
    what I expect it to be, c:\winnt. But the values set in the ini file
    are not the ones displayed on the phpinfo() page. Does anyone have any
    suggestions as to what I may be doing wrong?

    Thanks,

    Paul

  • Pedro Graca

    #2
    Re: php.ini issue

    paul brown wrote:[color=blue]
    > I'm running Apache 1.3.29 and PHP 4.2.3 on Windows XP Pro. I built a
    > page that runs phpinfo() and it works. The location of the php.ini is
    > what I expect it to be, c:\winnt. But the values set in the ini file
    > are not the ones displayed on the phpinfo() page. Does anyone have any
    > suggestions as to what I may be doing wrong?[/color]

    The changes to php.ini are reflected only *after* a restart of the web
    server.
    --
    --= my mail box only accepts =--
    --= Content-Type: text/plain =--
    --= Size below 10001 bytes =--

    Comment

    • paul brown

      #3
      Re: php.ini issue


      Pedro Graca wrote:
      [color=blue]
      > paul brown wrote:
      >[color=green]
      >>I'm running Apache 1.3.29 and PHP 4.2.3 on Windows XP Pro. I built a
      >>page that runs phpinfo() and it works. The location of the php.ini is
      >>what I expect it to be, c:\winnt. But the values set in the ini file
      >>are not the ones displayed on the phpinfo() page. Does anyone have any
      >>suggestions as to what I may be doing wrong?[/color]
      >
      >
      > The changes to php.ini are reflected only *after* a restart of the web
      > server.[/color]

      Yes, I know that, and I have both restarted the web server and rebooted
      the machine. I guess I should have mentioned that. Anyone else have a
      suggestion?

      Paul

      Comment

      • Pedro Graca

        #4
        Re: php.ini issue

        paul brown wrote:
        [color=blue]
        > Pedro Graca wrote:[/color]
        [color=blue][color=green]
        >> paul brown wrote:[/color][/color]
        [color=blue][color=green][color=darkred]
        >>>I'm running Apache 1.3.29 and PHP 4.2.3 on Windows XP Pro. I built a
        >>>page that runs phpinfo() and it works. The location of the php.ini is
        >>>what I expect it to be, c:\winnt. But the values set in the ini file
        >>>are not the ones displayed on the phpinfo() page. Does anyone have any
        >>>suggestion s as to what I may be doing wrong?[/color][/color][/color]
        [color=blue][color=green]
        >> The changes to php.ini are reflected only *after* a restart of the web
        >> server.[/color][/color]
        [color=blue]
        > Yes, I know that, and I have both restarted the web server and rebooted
        > the machine. I guess I should have mentioned that. Anyone else have a
        > suggestion?[/color]

        *fishing*

        Do you have an .htaccess in the directory of the phpinfo script?

        Changing a value in c:\winnt\php.in i is not reflected in the phpinfo()
        output? any value? some values only?

        Is the php.ini file readable by the webserver?
        --
        --= my mail box only accepts =--
        --= Content-Type: text/plain =--
        --= Size below 10001 bytes =--

        Comment

        Working...