The file I wanna include exist and is in the corrent location:

s...@debian:~$ ll /usr/share/php/PHPUnit/Extensions/Database/TestCase.
-rw-r--r-- 1 root root 8818 31 mar 23:35


If in my 
script omit line 2 (so I dont' explicity set the include path) the

output is:
s...@debian:~$ php test.php

Warning: require_once

(PHPUnit/Extensions/Database/Testcase.php): failed to open stream: No 
such file or directory in /home/ste/test.php on line 2

Fatal error:

require_once(): Failed opening required 
'PHPUnit/Extensions/Database/Testcase.php' (include_path='.:
/usr/share/php:/home/ste/php') in /home/ste/test.php on line 2

same outup also if I use the absolute path in the require line.
Is this 
a bug?

Con Tutto Incluso chiami e navighi senza limiti a soli 14,95 euro al mese. 
Gratis la Sim Tiscali Mobile con 50 euro di traffico! L’offerta è valida solo 
se attivi entro il 25/06/09

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to