PEAR installation correct?

From: Date: Tue, 26 Mar 2002 04:13:26 +0000
Subject: PEAR installation correct?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-90151@lists.php.net to get a copy of this message
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 at /usr/local/bin/, where it is simply called "pear". In the Find.php file, I set it so that it calls a require_once '/usr/local/bin/pear'; Originally it was pear.php, but it didn't find it, so I set it as shown above. 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)

« previous php.general (#90151) next »