from all the documentation that I have read on the net, if PEAR is installed correctly all one needs to do is to do this in a php script to utilize the PEAR classes:
<?php
require_once('DB.php');
echo "hello world";
?>
i get this error:
Warning: main(DB.php) [function.main]: failed to open stream: No such file or directory in /home/rantman/public_html/test.php on line 3
Fatal error: main() [function.require]: Failed opening required 'DB.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rantman/public_html/test.php on line 3
My phpinfo states this:
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--enable-magic-quotes' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-xmlrpc' '--with-zlib'
What do I need to do to get this working?
Thanks In Advance
Mike