I try to include PHP file from different places of my computer. So I have defined different include paths in my php.ini
include_path=".;C:\project\a;X:\project\b"
When I try to include a file X:\project\b\file_b.php from a PHP script on C:\project\a\file_a.php with
require_once("file_b.php");
or with
require_once("X:\project\b\file_b.php");
I get the error
Warning: require_once(X:\project\b\file_b.php): failed to open stream: No such file or directory in C:\project\a\file_a.php on line 2
Fatal error: require_once(): Failed opening required 'X:\project\b\file_b.php' (include_path='.;C:\project\a;X:\project\b') in C:\project\a\file_a.php on line 2
Abort Processing during Fatal-Error: require_once(): Failed opening required 'X:\project\b\file_b.php' (include_path='.;C:\project\a;X:\project\b') Error in Script C:\project\a\file_a.php on Line 2
I have tried everything I can do with my knowlegde, but nothing works. I hope, that someone can hlep me with solving this problem. Is there a problem with include paths on different drives on a Windows system?
Best regards, bition