RE: [PHP-INST] PHP 4.3.1 ERROR with relative paths!
| From: | Rich Gray | Date: | Tue, 04 Mar 2003 13:57:23 +0000 |
| Subject: | RE: [PHP-INST] PHP 4.3.1 ERROR with relative paths! | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10273@lists.php.net to get a copy of this message | ||
> > Are permissions OK on the file to be included (and its
> directory) wrt to the
> > webserver process?
> > I know nothing has changed in php.ini but is open_basedir or safe_mode
> > switched on?
>
> Permissions are ok (755).
> OpenBase_dir is commented out
> and sofe_mode = Off
>
> N changed with the all files. The only difference is the PHP
> version.othing has
>
> I really don't get it.... The file is there. If I use require_once with
> the absolute path it works but this solution is impossiblie to do for
> all the code on our machine... as you might imagine. :-(
>
> Is this a bug in PHP4.3.1? Do you have this problem with this PHP
> version?
>
> Greetings,
Is that 755 for both file and directory? Does
file_exists('../myfile.inc.php') return true?
I'm not running 4.3.1 on FreeBSD so I can't say if it is a bug specific to
this version/platform. This bug report looks similar...
http://bugs.php.net/bug.php?id=21674
Rich