Re: PEAR not installed correctly?
| From: | Nicolas Lanquetin | Date: | Wed, 08 Jun 2005 00:29:46 +0000 |
| Subject: | Re: PEAR not installed correctly? | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19506@lists.php.net to get a copy of this message | ||
Alan Richmond wrote:
On Tuesday 07 June 2005 03:09 pm, Nicolas Lanquetin wrote:You are right, there is this ".;D:\server-xampp\xampp\php\pear\" in my include_path. here is my phpinfo btw: http://home.psbase.com/unipaix/serverinfo/ Is it okay that a ".;" preceed the path to the pear folder? And after removing the ini_set(.....) I get this error: *Fatal error*: Undefined class name 'db'. It does exist in my PEAR dir (D:\server-xampp\xampp\php\pear) though. Any suggestions? NicolasNow, here is what I did: I inserted into my code the following line to adjust my include_path directive: ini_set("include_path", ini_get("include_path") . PATH_SEPARATOR . 'D:/server-xampp/sites/unipaix/trunk/www/libs/PEAR'); And here is the error I get: Fatal error: Call to undefined function: assertextension() in D:\server-xampp\xampp\php\pear\DB\mysql.php on line 115 (Notice that the path has changed. I don't think it's an error, but who knows)It looks like you might already have a PEAR directory in your include_path. The PEAR directory you're adding comes after it.... Maybe the DB in the existing dir is old? Either remove the other path or add your PEAR dir at the beginning instead of the end of the include_path. -Alan