PEAR Path
Posted by: anks329
Posted on: 2005-12-29 19:53:00
I'm trying to install a plug in for Wordpress that will let me cross post to my Xanga. For part of the installation, I need to specify the PEAR path. Without the correct path I get the following error:
Warning: main(HTTP/Request.php): failed to open stream: No such file or directory in /home/.harlem/anks329/anksconsulting.com/news/wp-content/plugins/xangaposter.php on line 15
Fatal error: main(): Failed opening required 'HTTP/Request.php' (include_path='.:/usr/local/lib/php') in /home/.harlem/anks329/anksconsulting.com/news/wp-content/plugins/xangaposter.php on line 15
The lines in question have the following:
ini_set('include_path', '/usr/local/lib/php' . PATH_SEPARATOR . ini_get('include_path'));
require_once 'HTTP/Request.php';
Any ideas as to what i'm doing wrong here?