PEAR install / usage
Posted by: EricaC
Posted on: 2007-10-18 13:09:00
I ran through the instructions here:
http://wiki.dreamhost.com/PEAR
(I'm most interested in HTTP_Download, if it matters)
Install seems to have worked just fine. I can see the files I want to use. I added this line to a global include, but still get a "class not found" error when trying to instantiate a PEAR class in my script.
ini_set(
'include_path',
ini_get( 'include_path' ) . PATH_SEPARATOR . "/home/(youruser)/pear/php"
);
Do I need to do something to directly include the class I'm interested in? Or did I do something wrong with the include_path statement. I just double checked and I did replace (youruser) with my username.
Any help is appreciated! Thanks!
-Erica