Why won't PEAR work on my PHP Windows installation?

IrraduakInese

New Member
I'm running Wampserver on Windows 7, and I can't seem to get PEAR to work. Well, that's not entirely true-apparently it works on the command line (both cmd.exe and on Cygwin).Here's the sample program I found on PHP.Net that shows you if PEAR is installed:\[code\]<?PHPrequire_once 'System.php';var_dump(class_exists('System', false));?>\[/code\]On the command line, it returns "bool(true)", and in the browser I get\[code\]Warning: require_once(System.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\foobar.php on line 3Fatal error: require_once() [function.require]: Failed opening required 'System.php' (include_path='.;C:\php\pear') in C:\wamp\www\foobar.php on line 3\[/code\]I'm honestly not sure what I'm doing wrong. It seems like both should work, but I'm stumped.Thanks.
 
Back
Top