RE: [PHP] require_once failure

2009-06-25 Thread Jay Blanchard
[snip] 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 3 Fatal error: require_once(): Failed opening required 'PHPUnit/Extensions/Database/Testcase.php'

Re: [PHP] require_once failure

2009-06-25 Thread Michael A. Peters
ste.paole...@tiscali.it wrote: Hi all, I'm a php programmer an I found an anomaly.. it could be a bug. On Mac Os all goes right but on debian enviroment there are some problems: Suppose I've the file /home/ste/test.php containing the following line: ?php set_include_path('/usr/share/php');

Re: [PHP] require_once failure

2009-06-25 Thread Daniel Brown
On Thu, Jun 25, 2009 at 07:26, ste.paole...@tiscali.itste.paole...@tiscali.it wrote: Someone can help me? Why on Mac Os there are no problems? Start by making sure that the file is there and is readable by the user as which you are logged in. Execute the command: ls -l