latest PEAR on W32, refers to PHP5, bug

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

    latest PEAR on W32, refers to PHP5, bug

    latest PEAR on W32, refers to PHP5 inaccurately.
    I've seen posts regarding path's that get messed up, by lost ini's or
    registry settings.
    I don't think that's my case, because I can't find PHP5 in registry or
    any left-over ini's.
    This is a new PC that I use on the weekends mostly.

    The latest Pear version 1.4.5-I believe, also seems to have changed
    (written over) include_path and extension_dir settings of php.ini
    changing them to .;C:\php5 and C:\php5\ext when there is no dir
    or reference to php5 in ini's registry etc ( only C:\php )

    I've run into some other related obstacles using Pear and Smarty on
    shared-host env.
    I'd like to be able to use Smarty, even in subdirectories and not have
    to hardcode path.
    While a recent version of Pear (1.4.0) claims to sync local and
    shared-host Pear modules, the instructions ask you to install locally
    in a very non-standard area. ??? why ???

    I'm running PHP 5.0.5 on WinXP - anyone else have this experience ?
    What's the best way to fix it ? TIA

  • Andy Hassall

    #2
    Re: latest PEAR on W32, refers to PHP5, bug

    On 4 Jan 2006 15:11:18 -0800, "awebguynow " <i_dvlp@hotmail .com> wrote:
    [color=blue]
    >I don't think that's my case, because I can't find PHP5 in registry or
    >any left-over ini's.
    >This is a new PC that I use on the weekends mostly.
    >
    >The latest Pear version 1.4.5-I believe, also seems to have changed
    >(written over) include_path and extension_dir settings of php.ini
    >changing them to .;C:\php5 and C:\php5\ext when there is no dir
    >or reference to php5 in ini's registry etc ( only C:\php )[/color]

    If you're seeing these paths, it is more likely that it's not reading _any_
    configuration data, and is instead falling back to these compiled-in defaults.

    Check permissions, and the output of phpinfo() to see whether it's claiming to
    see a configuration file.

    --
    Andy Hassall :: andy@andyh.co.u k :: http://www.andyh.co.uk
    http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

    Comment

    • awebguynow

      #3
      Re: latest PEAR on W32, refers to PHP5, bug

      Well, I'll be darn. It stated it was using
      C:\Windows\php. ini
      when there was none there !!!
      Because I forgot to set the Apache2 directive: PHPIniDir
      it assumes C:\Windows\
      Situation solved, thank you for you help.

      ps: I'm still curious about this issue, as I restate it here:
      While a recent version of Pear (1.4.0) claims to sync local and
      shared-host Pear modules, the instructions ask you to install locally
      in a very non-standard area. ??? why ???

      Comment

      Working...