How do I know if my web hosting server installed PEAR correctly?

I'm trying to create a Search Engine from the PHP Developer's Cookbook,
and so far, here's what I know:

PHP has the PEAR installed ('--with-pear' according phpinfo.php)

And having telnetted into my server, was able to find the PEAR location

/usr/local/bin/, where it is simply called "pear".

In the Find.php file, I set it so that it calls a require_once
Originally it was pear.php, but it didn't find it, so I set it as shown

Now, if I run the file, I get this message:
#!/usr/local/bin/php -Cq 
Fatal error: Failed opening required 'PEAR.php' (include_path='') in
/usr/local/bin/pear on line 45

How do I know if PEAR is installed correctly? (The web hosting hasn't
installed Pear before until I requested it)

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to