fatal error with DB.php

From: Date: Sat, 05 Jul 2003 18:53:40 +0000
Subject: fatal error with DB.php
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6496@lists.php.net to get a copy of this message
I am trying to use DB.php, but I am getting this error... Fatal error: main(): Failed opening required 'DB.php' (include_path='.;c:\php4\pear') I don't have PHP installed at 'C:\php4'. I have it at 'G:\etc\php' My php.ini says... include_path = ".;G:\etc\php\extensions;G:\etc\php\pear" extension_dir = "G:\etc\php\extensions" so it is not coming from "my" php.ini file. I can't find this path defined *anywhere*. I did a grep on my entire system (C and G) and this string did not show up. Well, that is not entirely true. It showed up in 'php4ts.dll', something that con not be "user modified" Where is PHP getting that include_path definition from? I hope it is not coming from a hard coded path! To solve this issue I first I tried an exact path in my test script... require_once 'G:\etc\php\PEAR\DB.php'; This displayed nothing. No error, no timeout, nothing. Then I made a C:\php4\pear directory and copied the entire PEAR directory to it. OK, the script works fine now, but I don't want to leave it like this. I would like to understand why it does not work where I placed it and where I told the INI to look for things. Thanks for any help Walter

« previous php.pear.general (#6496) next »