RE: [PEAR] RE: WELCOME to pear-general@lists.php.net
| From: | Darren Ehlers | Date: | Sat, 07 May 2005 00:06:36 +0000 |
| Subject: | RE: [PEAR] RE: WELCOME to pear-general@lists.php.net | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19088@lists.php.net to get a copy of this message | ||
No, phpinfo() returns the correct/expected path:
/usr/local/lib/php
Darren Ehlers
OpenUI Consortium
http://www.openui.org/
> -----Original Message-----
> From: Justin Patrin [mailto:papercrane@gmail.com]
> Sent: Friday, May 06, 2005 6:51 PM
> To: darren@ehlersconsulting.net
> Cc: pear-general@lists.php.net
> Subject: Re: [PEAR] RE: WELCOME to pear-general@lists.php.net
>
>
> On 5/6/05, Darren Ehlers <darren@ehlersconsulting.net> wrote:
> > I have a problem that I cannot seem to track down.
> >
> > Everthing works fine on my local test system, but when
> uploaded to my
> > server, it's like the include_path isn't being checked.
> For example:
> >
> > require_once ('MDB2.php');
> >
> > Won't work at all (file not found), but the file IS there in the
> > /usr/local/lib/php/ directory.
> >
> > BUT, this works fine:
> >
> > require_once ('/usr/local/lib/php/MDB2.php');
> >
> > And the include path is:
> >
> > /usr/local/lib/php
> >
> > I'm missing something here, and at a loss...
> >
>
> What does phpinfo(); say your include path is? Perhaps you edited the
> wrong php.ini file (look in phpinfo()'s output for the php.ini file
> it's using).
>
> --
> Justin Patrin
>