Re:Re:require_once failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


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

/usr/share/php/PHPUnit/Extensions/Database/TestCase.php

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

output is:
ste@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


The 
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

http://abbonati.tiscali.it/promo/tuttoincluso/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux