S wrote:
Im having a problem that im assuming is related to my core PHP code
rather than the pear file I am trying to include (though if you folks
think I need to look into that, thats ok too). Basically im seeing the
following when I try to load my page:

Warning: main(DB.php) [function.main]: failed to open stream: No such
file or directory in c:\wamp\www\testing\Ch4\test_dbi.php on line 26

Fatal error: main() [function.require]: Failed opening required 'DB.php'

(include_path=':c:/wamp/www/PEAR:c:/wamp/www/phplib:c:/wamp/www/testing/ch4/class:.;C:\php5\pear')

I think you need to change your seperator to a semilcolon instead ;)

Go to your php.ini (wherever you keep it) and change your include path to this:
include_path='c:/wamp/www/PEAR;c:/wamp/www/phplib;c:/wamp/www/testing/ch4/class;.;C:/php5/pear'


Forward slashes are not a problem for me, but then again I use Apache YMMV

Strange, do you have two PEAR installations? You should only need one unless you're trying to maintain a testing tree and a production tree.

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to