Posted by bigal on 08/02/05 14:27
Hi there,
Get the following errors when trying to include PEAR DB framework using
PHP 5.0.4 on Windows 2000 with Apache 2.
Warning: main(PEAR-1.3.3/DB/DB.php) [function.main]: failed to open
stream: No such file or directory in E:\Program Files\Apache
Group\Apache2\htdocs\servus\includes\include.php on line 19
Fatal error: main() [function.require]: Failed opening required
'PEAR-1.3.3/DB/DB.php' (include_path='.\includes;.\') in E:\Program
Files\Apache Group\Apache2\htdocs\servus\includes\include.php on line 19
The include_path config variable looks like this:
include_path = ".\includes;.\"
PHP is installed in
e:\php-5.0.4
and the PEAR Class defs are in
e:\php-5.0.4\includes\PEAR-1.3.3\DB\DB.php
The includes that fail are:
include_once("PEAR-1.3.3/DB/DB.php");
These worked with 4.4.0, but fail with 5.0.4 ...
can anybody tell me what's going wrong here please? I can't see the wood
for the trees! :)
Thanks
Alan Stone
Navigation:
[Reply to this message]
|