Re: Re: Basic Install issue - Missing PEAR class?
| From: | Paul Fitzpatrick | Date: | Thu, 27 Oct 2005 05:29:18 +0000 |
| Subject: | Re: Re: Basic Install issue - Missing PEAR class? | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21671@lists.php.net to get a copy of this message | ||
Hi Greg,
Yes here are the results -
array(10) { [0]=> string(28) "l:\sites\mumbai\bb_test1.php" [1]=> string(28) "l:\sites\mumbai\init.inc.php" [2]=> string(38) "c:\wamp\php\pear\HTML\BBCodeParser.php" [3]=> string(24) "l:\sites\mumbai\PEAR.php" [4]=> string(38) "c:\wamp\php\pear\Validate\Validate.php" [5]=> string(30) "c:\wamp\php\pear\PEAR\Info.php" [6]=> string(32) "c:\wamp\php\pear\PEAR\Remote.php" [7]=> string(32) "c:\wamp\php\pear\PEAR\Config.php" [8]=> string(34) "c:\wamp\php\pear\PEAR\Registry.php" [9]=> string(38) "c:\wamp\php\pear\PEAR\DependencyDB.php" }
*Fatal error*: Class 'PEAR' not found in *c:\wamp\php\pear\PEAR\Registry.php* on line *52
-------------------------------
*Thats when I have registry.php including pear as "require_once 'PEAR.php'; (the original way)
When I alter the registry.php code to 'require_once 'PEAR/PEAR.php'; It works as intended. Its taking an alteration of the original pear file to get it working at the moment.
Heres a screenshot of my directory layout. The PEAR.php file is in the base folder of the include_path. It should be making it in but it isn't atm.
Screenshot of my directory layout... http://ezhostingaustralia.com/pear.jpg
Thanks,
Paul
*
*
Greg Beaver wrote:
Paul Fitzpatrick wrote:Hi, Yes I meant to say yes that phpinfo(); is displaying the correct include path that I specified in php.iniYou haven't tried the var_dump(get_included_files()) Greginclude_path .;c:\wamp\php\PEAR .;c:\wamp\php\PEARCertain files are having trouble finding the pear class for some reason. Any other info that could help track the problem down?