473,326 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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_oci8 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
$
--
http://www.mladen-gogala.com

Nov 8 '06 #1
3 1686
On Wed, 08 Nov 2006 13:06:45 GMT, Mladen Gogala
<mg*****************@verizon.netwrote:
>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:

http://cvs.php.net/viewvc.cgi/pear-c...r.php?view=log

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Nov 8 '06 #2
On Wed, 08 Nov 2006 20:21:55 +0000, Andy Hassall <an**@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 :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Nov 8 '06 #3
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.

--
http://www.mladen-gogala.com

Nov 9 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Arne Kösling | last post by:
Hi ! I am new to Web Services. Therefore I ve set up a PHP Installation on Windows (PHP 4.3.2 and Apache 1.3.29). I have tested PHP alone and then installed PEAR. Now I am stuck there (Before...
1
by: Xaver Biton | last post by:
Hi, my internet provvider doesn' have support for pear and I tried the manual Installation as in the installation manual but when I call the script <?php ini_set("include_path",...
1
by: Ruby Tuesday | last post by:
Hi, perhaps some php guru can shed some lite to my limited knowledge. My PHP installation directory is in: c:\apps\php\php4 cli/ dlls/ extensions/ mibs/ openssl/
0
by: Robert | last post by:
Iam running a server and PEAR is compiled with PHP. Before some days I have upgraded PHP from 4.3.4 to 4.3.7 using Apache update from WHM (cPanel). This went well but after that one client...
13
by: Tim Tyler | last post by:
I've been using PHP for a while now - and have recently been trying to set up PHP, MySQL and Apache on Windows (for a client). It seems like all the PEAR stuff under PHP 5 doesn't work out of the...
8
by: red | last post by:
I have PHP Version 5.0.1 installed on my computer, and according to the pear manual pear is already installed. But how do I tell if it is installed ? for example, how do I get this line, which I...
3
by: elektrophyte | last post by:
If your site is on a shared host and you don't have shell access so you have to just kind of use whatever they got, you can't install PEAR modules, right? This is one thing that confuses me about...
5
by: Jim Michaels | last post by:
I downloaded a PEAR module, but it came with this XML file and a PHP file. I figure I just include the PHP file somehow, but what do I do with the XML file?
1
by: CSTechie | last post by:
I've been battling to install PEAR on Windows XP now for too long. I am not sure what I need to do. When I run go-pear.php from the command line, I get the error message as shown at the end. I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.