471,119 Members | 1,449 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,119 software developers and data experts.

php5, pear and CLI

Joe
I have just upgrade to php5 and installed pear with gopear.bat on my
windows installation.

Problem:

I get this error when i try to run my cli scripts:

Fatal error: main(): Failed opening required 'DB.php'
(include_path='.;C:\php5\p
ear') in d:\web\cmd_drawings.php on line 5

But phpinfo tells me that my include path is c:\php\pear and the
scripts on my webserver runs fine.

Anyone know why this problem appears only with CLI and how to fix it.

Joe
Jul 17 '05 #1
0 1471

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Not for Publication | last post: by
reply views Thread by Henrik Brautaset Aronsen | last post: by
reply views Thread by Tristan Tarrant | last post: by
reply views Thread by Yarco | last post: by
2 posts views Thread by awebguynow | last post: by
4 posts views Thread by awebguynow | last post: by
19 posts views Thread by McKirahan | last post: by
2 posts views Thread by wannabe | last post: by
2 posts views Thread by grand220 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.