PDA

View Full Version : PHP Pear Include Problem: Failed Opening



zericm
06-03-2006, 05:38 PM
I'm having a bit of trouble with a script that I wrote in PHP. I'm getting the following errro when I access a page:

Fatal error: require_once() [function.require]: Failed opening required 'DB.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')

The offending line in my code:

require_once("DB.php");

This works in my dev environemt, so I'm not sure what to make of it.

thx,
Eric