Home > Archive > PHP Pear > August 2004 > Re: [PEAR] Re: A general problem
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] Re: A general problem
|
|
| Norbert Mocsnik 2004-08-30, 8:56 pm |
| Matthew Weier O'Phinney wrote:
> Looks to me like you need to do the following:
>
> set_include_path(get_include_path() . ':' . './auth');
> include_once('Auth/Auth.php');
>
> That first line appends the directory 'auth' in the current directory to
> the path list in which PHP looks for include files. This will allow the
> factory method in Auth to find its classes.
Hmmm... if you have a proper PEAR installation you don't
need to do such tricks. Make sure your PEAR root directory
is in
echo ini_get('include_path');
and that you really used the installer to install the packages,
instead of manually installing them.
Additionally, check this section of the manual
http://pear.php.net/manual/en/installation.php
and tell us if you need more help.
--
Regards,
Norbert Mocsnik
http://norbert.mocsnik.hu/
| |
| Norbert Mocsnik 2004-08-31, 3:56 am |
| Norbert Mocsnik wrote:
> and that you really used the installer to install the packages,
> instead of manually installing them.
correction:
instead of manually downloading and extracting them.
--
Regards,
Norbert Mocsnik
http://norbert.mocsnik.hu/
|
|
|
|
|