I met problems when installing go-pear.php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
chu2654
Forum Newbie
Posts: 11
Joined: Mon Aug 07, 2006 6:59 pm

I met problems when installing go-pear.php

Post by chu2654 »

When I double clicked the go-pear.bat or run go-pear.php, it will show an error message :
Fatal error: Undefined class name 'pear' in c:\PHP\PEAR\go-pear.php on line 747. How can I fix it ?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Try including the file that has that class in it.
chu2654
Forum Newbie
Posts: 11
Joined: Mon Aug 07, 2006 6:59 pm

Which file should I include ?

Post by chu2654 »

Which file has the pear class ?
My include path in php.ini is as following:

include_path = ".;c:\php\includes;c:\php\PEAR"
Post Reply