php5, pear and CLI

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe

    php5, pear and CLI

    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_draw ings.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
Working...