PEAR installation fails with 5.2.0 on Win XP

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

    PEAR installation fails with 5.2.0 on Win XP

    PEAR installation failed with PHP 5.2.0 on Windows XP. The reported error
    is mismatch between array types. Did anyone else come across that? Any
    solutions?
    I didn't have any problems with Linux:

    $ php --version
    PHP 5.2.0 (cli) (built: Nov 3 2006 21:13:54)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies

    $ pear list
    Installed packages, channel pear.php.net:
    =============== =============== ===========
    Package Version State
    Archive_Tar 1.3.1 stable
    Config 1.10.7 stable
    Console_Getargs 1.3.2 stable
    Console_Getopt 1.2 stable
    DB 1.7.6 stable
    Date 1.4.6 stable
    HTML_Common 1.2.3 stable
    HTML_Form 1.3.0 stable
    HTML_Table 1.7.4 stable
    Log 1.9.9 stable
    MDB2 2.3.0 stable
    MDB2_Driver_oci 8 1.3.0 stable
    PEAR 1.4.11 stable
    PHP_Beautifier 0.1.11 beta
    Var_Dump 1.0.3 stable
    XML_Parser 1.2.7 stable
    XML_RPC 1.5.1 stable
    XML_Util 1.1.1 stable
    $


    --


  • Andy Hassall

    #2
    Re: PEAR installation fails with 5.2.0 on Win XP

    On Wed, 08 Nov 2006 13:06:45 GMT, Mladen Gogala
    <mgogala.spam-me-not@verizon.net wrote:
    >PEAR installation failed with PHP 5.2.0 on Windows XP. The reported error
    >is mismatch between array types. Did anyone else come across that?
    Yes, just tried it and it fails very badly.

    Warning: Cannot use a scalar value as an array in
    phar://go-pear.phar/PEAR/Command.php on line 268

    ... over and over, ending up with "install failed".
    >Any solutions?
    Dunno yet, bug reports seem to be thin on the ground so far.

    The last commit to make-gopear-phar.php looks relevant and ominous:



    --
    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

    • Andy Hassall

      #3
      Re: PEAR installation fails with 5.2.0 on Win XP

      On Wed, 08 Nov 2006 20:21:55 +0000, Andy Hassall <andy@andyh.co. ukwrote:
      >>Any solutions?
      >
      Dunno yet, bug reports seem to be thin on the ground so far.
      Seems to be fixed in the latest snap though, overwrote PEAR/go-pear.phar with
      the one from http://snaps.php.net/win32/php5.2-wi...0611082330.zip and then
      go-pear.bat works as usual.

      Wonder what else wasn't tested before it was released.

      --
      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

      • Mladen Gogala

        #4
        Re: PEAR installation fails with 5.2.0 on Win XP

        On Wed, 08 Nov 2006 23:51:56 +0000, Andy Hassall wrote:
        Wonder what else wasn't tested before it was released.
        Well, that's open source: test and build it yourself.

        --


        Comment

        Working...