Re: [DB] problem while doing require_once'DB.php' ;

From: Date: Thu, 11 Sep 2003 14:35:19 +0000
Subject: Re: [DB] problem while doing require_once'DB.php' ;
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7726@lists.php.net to get a copy of this message
The explanation IS : i had a file in my root directory which was named pear.php so this one was called and not the original PEAR.php So stupid mistake !!!! "Thierry Bothorel" <thierry.bo@netcourrier.com> a écrit dans le message de news: 20030911141715.17878.qmail@pb1.pair.com... > Are you sure your php.ini is read. Try reading the real include path from > phpinfo(), not php.ini. > > TB > > > > "Phpcoder" <spambox@wanadoo.fr> a écrit dans le message de > news:20030911091052.563.qmail@pb1.pair.com... > > Another possibility is to modify the DB.php file : > > if I change > > require_once 'PEAR.php'; to require_once 'pathto\PEAR.php'; > > it's OKay > > > > But it's not really clean, so I really would like to get the reason why > > whereas my php.ini seems to be good I have to > > change the path. > > > >

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