Home > Archive > PHP Pear > May 2005 > Re: [PEAR] RE: WELCOME to pear-general@lists.php.net
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: WELCOME to pear-general@lists.php.net
|
|
| Justin Patrin 2005-05-07, 3:56 am |
| On 5/6/05, Darren Ehlers <darren@ehlersconsulting.net> wrote:
> I have a problem that I cannot seem to track down.
>=20
> 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:
>=20
> require_once ('MDB2.php');
>=20
> Won't work at all (file not found), but the file IS there in the
> /usr/local/lib/php/ directory.
>=20
> BUT, this works fine:
>=20
> require_once ('/usr/local/lib/php/MDB2.php');
>=20
> And the include path is:
>=20
> /usr/local/lib/php
>=20
> I'm missing something here, and at a loss...
>=20
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).
--=20
Justin Patrin
| |
| Darren Ehlers 2005-05-07, 3:56 am |
| 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:
> uploaded to my
> For example:
>
> 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
>
|
|
|
|
|