Hello there,
I have a problem where I just can't find a solution for. May be one of you experts know what to do. I've been looking for similar problems accross the internet and did actually find some, but they were rare and none of them provided a solution.
Here is my problem:
PHP 5 is running on IIS 6 really smooth. It just seems to work perfectly. But when I try to install a script like phpMyAdmin I get the following error:
Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in D:\Inetpub\phpMyAdmin\index.php on line 34
Fatal error: require_once() [function.require]: Failed opening required './libraries/common.inc.php' (include_path='.;\Program Files\PHP5') in D:\Inetpub\phpMyAdmin\index.php on line 34
I noticed that includes work as long as the path/to/file.php doesn't start with "./".
include "D:\Inetpub\wwwroot\path/file.php" --- works
include "path/file.php" --- works
include "./path/file.php" --- doesn't work
The thing is that really all scripts I am supposed to install use the includes which don't work. And I don't think it's the right solution to change the scripts.
Well, any idea is appreciated. Thanks!
Milchbazi