Home > Archive > PHP Pear > June 2005 > Re: [PEAR] PEAR not installed correctly?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PEAR] PEAR not installed correctly?
|
|
| Alan Richmond 2005-06-07, 8:57 pm |
| On Tuesday 07 June 2005 03:09 pm, Nicolas Lanquetin wrote:
> Now, 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
--
Alan Richmond
Aardwolf Web
http://www.aardwolfweb.com
| |
| Nicolas Lanquetin 2005-06-08, 3:58 am |
| Alan Richmond wrote:
>On Tuesday 07 June 2005 03:09 pm, Nicolas Lanquetin wrote:
>
>
>
>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
>
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?
Nicolas
|
|
|
|
|