Do you have a question? Post it now! No Registration Necessary. Now with pictures!
August 2, 2005, 11:27 am
rate this thread
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
and the PEAR Class defs are in
The includes that fail are:
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! :)