Wampserver 2.0 -- PHP 5.3.0 and PEAR go-pear.bat error
Posted by: PESimard (---.dhcp.hckr.nc.charter.com)
Date: September 30, 2010 10:24PM

Using Wampserver 2.0, I'm trying to access PEAR in order to install additional PHP packages.

From wamp\bin\php\php5.3.0\go-pear.bat generates the following error screen:

phar "C:\wamp\bin\php\php5.3.0\PEAR\go-pear.phar" does not have a signature
PHP Warning: require_once(phar://go-pear.phar/index.php):
failed to open stream: phar error: invalid url or non-existent phar "phar://go-pear.phar/index.php" in
C:\wamp\bin\php\php5.3.0\PEAR\go-pear.phar on line 1236

Warning: require_once(phar://go-pear.phar/index.php): failed to open stream:
phar error: invalid url or non-existent phar "phar://go-pear.phar/index.php" in
C:\wamp\bin\php\php5.3.0\PEAR\go-pear.phar on line 1236

[line breaks edited for clarity]
Press any key to continue . . .

I'm guessing the error occurs because there is no index.php file in the PEAR sub-directory, but it's just a guess. Can someone please explain or direct me to an explanation of what's needed to operate PEAR in the Wampserver 2.0 environment?

Can anyone help me resolve the problem?

Thanks in advance!

Options: ReplyQuote
Re: Wampserver 2.0 -- PHP 5.3.0 and PEAR go-pear.bat error
Posted by: toivo (203.19.130.---)
Date: October 01, 2010 01:41PM

I put together these instructions for an earlier version but the idea should still be the same:
[toivo.talikka.com]

toivo
Sydney, Australia

Options: ReplyQuote
Re: Wampserver 2.0 -- PHP 5.3.0 and PEAR go-pear.bat error
Posted by: yfastud (Moderator)
Date: October 01, 2010 05:47PM

if install pears because follow some old book, ignore it and go to mysql section and use it instead; if you really need pear, you can download directly from pears website and install it yourself but keep in mind that pear is too old and does not have much change since a long time, thus it's too easy for hackers, spammers to exploit your wamp pc if having pear

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Wampserver 2.0 -- PHP 5.3.0 and PEAR go-pear.bat error
Posted by: PESimard (---.dhcp.hckr.nc.charter.com)
Date: October 01, 2010 06:29PM

Thanks, I wound up installing Pyrus. Seems much easier, too. All is well. Thanks.

Options: ReplyQuote


Sorry, only registered users may post in this forum.