PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
go-pear.bat Problem - PLEASE HELP ASAP!!!

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration
View previous topic :: View next topic  
Author Message
gibsonbaud



Joined: 28 Jun 2008
Posts: 1

PostPosted: Sat Jun 28, 2008 3:19 am    Post subject: go-pear.bat Problem - PLEASE HELP ASAP!!! Reply with quote

When I try to run go-pear.bat to install the pear system I get the following errors:

Code:
PHP Notice:  unserialize(): Error at offset 326 of 395 bytes in phar://go-pear.phar/PEAR/Config.php on line 1056

PHP Fatal error:  Call to undefined method PEAR_Error::set() in phar://go-pear.phar/PEAR/Start.php on line 282

Press any key to continue . . .


I have checked everything i can think of, tried reinstalling php... nothing fixs it.

Im running Windows Server 2003 IIS, with the newst version of PHP. Any ideas?
Back to top
View user's profile Send private message
seeker



Joined: 08 Aug 2008
Posts: 2
Location: Cornwall

PostPosted: Fri Aug 08, 2008 6:25 pm    Post subject: Try checking for copies of pear.ini Reply with quote

Not sure if it will help you - but we found a stray copy of pear.ini in the windows directory with an incorrect path to the php.exe embedded in it.

We renamed the file and ran go-pear.bat again and it created a new one correctly - and completed the install.

HTH
Back to top
View user's profile Send private message
milajan



Joined: 11 Aug 2008
Posts: 1

PostPosted: Mon Aug 11, 2008 9:14 pm    Post subject: Reply with quote

I installed php and i can run from command prompt. when i am trying to install phpunit using pear it gives error:

'pear' is not recognized as an internal or external command,
operable program or batch file.

i gave pear channel-discover pear.phpunit.de command

Where i am wrong? pls help me. Thanks in advance.
Back to top
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1013

PostPosted: Mon Aug 11, 2008 10:40 pm    Post subject: Reply with quote

You haven't read the installation instruction in the manual:
http://pear.php.net/manual/en/installation.php
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software