extension_dir bug in PHP 5.0.3?

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

    extension_dir bug in PHP 5.0.3?


    I figured I would drop this out here for comment and general info. PHP
    5.0.3 on Windows 2000 SP4 / IIS running as ISAPI. You cannot seem to
    change the "extension_ dir" value via the php.ini file (and yes I have
    only one). No matter what value I give it (c:\php\ext) phpinfo()
    always returns c:\php5 as the extensions dir.

    Frustrating.

    J

  • Andy Hassall

    #2
    Re: extension_dir bug in PHP 5.0.3?

    On 15 Mar 2005 08:56:31 -0800, "James" <starritt@gmail .com> wrote:
    [color=blue]
    >I figured I would drop this out here for comment and general info. PHP
    >5.0.3 on Windows 2000 SP4 / IIS running as ISAPI. You cannot seem to
    >change the "extension_ dir" value via the php.ini file (and yes I have
    >only one). No matter what value I give it (c:\php\ext) phpinfo()
    >always returns c:\php5 as the extensions dir.[/color]

    That's the compiled in default. If you're getting that, you've not got php.ini
    in the right place or it's not accessible.

    See also news:112unho79p 181a7@corp.supe rnews.com

    I've just started up IIS with 5.0.3 and it's picked up extension_dir fine.

    --
    Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
    <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

    Comment

    • James

      #3
      Re: extension_dir bug in PHP 5.0.3?


      Thanks Andy --

      I had to grant permissions on the IIS_USR to read the file in c:\winnt.
      After that all went well -- despite the php docs PHP didnt pick up the
      registry entry that would allow me to specify where the ini file lived.
      It was quite a suprise to see php functioning without the ini file ....

      Comment

      Working...