Hi Experts,
when trying to Zend_DB:: factory I am getting a fatal error:
Fatal error: Cannot redeclare class Zend_Db in /usr/local/zendsvr/share/ZendFramework/library/Zend/Db.php on line 33
ini_set('display_errors', true);
error_reporting(E_ALL);
$library = '/usr/local/zendsvr/share/ZendFramework/library';
set_include_path($library);
require_once 'Zend/Loader.php';
Zend_Loader::registerAutoload();
echo '<h1> my ibm is running :'.Zend_Version::VERSION;
$options = array(Zend_DB::CASE_FOLDING => Zend_DB::CASE_UPPER);
$db = Zend_DB::factory('Db2',
array(
'host' => '127.0.0.1',
'dbname' => 'xxxxx',
'username' => 'xxx',
'password' =>'xxx',
'os' => 'i5',
'options' => $options)
);
?>