PEAR DB.php not found

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

PEAR DB.php not found

Postby rksii » 26. July 2009 18:51

The following program works fine under XAMPP for Windows but when I try to run my application under XAMPP for OS X, I get the following error:

Fatal error: require_once() [function.require]: Failed opening required 'DB.php' (include_path='.:/Applications/xampp/xamppfiles/lib/php') in /Users/ron/Projects/SchoolManager/htdocs/common.php on line 4


I searched around under the xamppfiles directory and I can't find DB.php anywhere. Is PEAR DB not installed in XAMPP for OS X?
rksii
 
Posts: 2
Joined: 26. July 2009 18:31

Re: PEAR DB.php not found

Postby Wiedmann » 26. July 2009 20:25

I can't find DB.php anywhere. Is PEAR DB not installed in XAMPP for OS X?

If you can't "DB.php", it's not installed. Of course, it's easy to verify this with the PEAR command line (or install it if necessary).

BTW:
PEAR::DB is depreciated and should not be used.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 7 guests