RE: [PHP] include() problem...
| From: | Matthew Walker | Date: | Thu, 20 Sep 2001 20:57:38 +0000 |
| Subject: | RE: [PHP] include() problem... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-68066@lists.php.net to get a copy of this message | ||
Okay... This is odd. Despite the fact that
'print_r(ini_get("include_path"));' returns the right include_path, I
just checked the php.ini file, and lo and behold, there is no include
path set. So... Have I just discovered a bug?
-----Original Message-----
From: Matthew Walker [mailto:matt@mountaintopherbs.com]
Sent: Thursday, September 20, 2001 2:52 PM
To: php-general@lists.php.net
Subject: RE: [PHP] include() problem...
Checked that. Plenty of permissions.
Anyone else have any idea?
-----Original Message-----
From: Johnson, Kirk [mailto:kjohnson@zootweb.com]
Sent: Thursday, September 20, 2001 1:48 PM
To: php-general@lists.php.net
Subject: RE: [PHP] include() problem...
Check the permissions on both the directory and the file, so that they
are
accessible to 'nobody' (or whomever PHP is running as). I'm not sure
what to
make of the empty include path in the error message.
Kirk
> I've tried including just a file that was in the /usr/lib/php
> directory.
> No luck. I get exactly the same error (with the correct file name,
> obviously). Also, note in the error that include() is seeing
> include_path=''. What's up with that?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.281 / Virus Database: 149 - Release Date: 9/18/2001