I have a really old web application. Long story sort, web server died. Need to move program quickly to get running. Will rewrite next week, but for now, need to get it going.
Have XAMPP for Mac OS X 1.7.3
Issue : require ('DB.php'); causing failure.
The usual "Warning: require(DB.php) [function.require]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/arachnid_temp/PUR/welcome.php"
I know nothing about DB.php.
I can locate it under "/Applications/XAMPP/xamppfiles/lib/php/pear/Zend/Db.php". Can I just refer to this, or is there something else I need to do??
I tried to run /Applications/XAMPP/xamppfiles/lib/php/pear pear install db
reports the following:
pear/db is already installed and is the same as the released version 1.7.14
Again, I'm just looking to get this thing going. Will redo in PDO after I can see how it actually works.
Thanks in advance.