Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-12-06 Thread Markus Mayer
Hi Richard, I think I've identified the problem. It appears to be a problem with PHPMyAdmin rather than PHP itself. The directory permissions we have are the minimum we need, usually 710, file permissions are 640. The group part of the permissions is how the apache gets to the files in the d

Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-12-01 Thread Richard Lynch
Try running it under some kind of debugger and see if you can figure out what directories it's even checking when it doesn't find the file... I dunno if Zend IDE (or whatever it's called now) or Komodo or XDebug or whatnot will do that, but it's definitely sounding very odd if your include_path ha

Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-12-01 Thread Markus Mayer
On Thursday 30 November 2006 19:04, Richard Lynch wrote: [snip...] And of course I forgot to put in the configure arguments './configure' \ '--without-pear' \ '--with-apxs2=/usr/local/apache2/bin/apxs' \ '--enable-mm=shared' \ '--with-mysql=/usr/local/MySQL/mysql-standard-5.0.27-solaris10-spar

Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-12-01 Thread Markus Mayer
Hi Richard, Hi all, The include path is correct. That was one of the first things I played around with. At the moment, it's include_path = ".". I also tried renaming the php.ini file to php.ini.off so that it wasn't found and took all the defaults, but with no success. Last night I built

Re: [PHP] Help with strange include problem in PHP 5.2.0

2006-11-30 Thread Richard Lynch
On Thu, November 30, 2006 6:49 am, Markus Mayer wrote: > I have a strange problem including files in PHP 5.2.0 running on Unix. > If I > try to include a file using include 'filename.inc';, everything is > fine. As > soon as I try to put a "." in front of the file name, for example > include './f

[PHP] Help with strange include problem in PHP 5.2.0

2006-11-30 Thread Markus Mayer
Hi all, I have a strange problem including files in PHP 5.2.0 running on Unix. If I try to include a file using include 'filename.inc';, everything is fine. As soon as I try to put a "." in front of the file name, for example include './filename.inc';, I get a "failed to open stream: No such