Re: Failed opening required 'DB.php'

From: Date: Sun, 18 Apr 2004 06:05:32 +0000
Subject: Re: Failed opening required 'DB.php'
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11938@lists.php.net to get a copy of this message
Hi Ben, Ben Gao <info@smallbuz.net> wrote: > Hi, > > I am trying to run an application. It always gets an error "Fatal error: > Failed opening required 'DB.php' (include_path='.:/usr/share/PEAR') in > /home/httpd/vhosts/webstorediy.com/httpdocs/billingsys/gcdb.php on line 15". > which is: require_once("DB.php"); in gcdb.php > > I checked php.ini. and my server. It DOES have PEAR installed, and in the > path /usr/share/PEAR. In php.ini, the include path is: > include_path='.:/usr/share/PEAR'. > > What went wrong? Could any one help? > > Thank you > > Ben > You should tried to find out where directory of DB.php exactly located, and include it in php.ini. PS: DB.php must located at PEAR top level directory or same located with PEAR.php. Regards, Firman

« previous php.pear.general (#11938) next »