I want to use the class Zend_Db
(and other Zend classes later). However, after 5 hours I am still not able to access this class. Could someone please point me towards a solution? It would already be helpful to know which of the hundreds files in the Zend framework contains this class? Thanks a million in advance!
More details on my problem: I am receiving the following error message
Fatal error: Class 'Zend_Db' not found
upon doing the following:
1) Downloaded Zend 2.2.5 and moved it to my server at /home/www/Zend/library
2) Added following line to php.ini: include_path=".:/home/www/Zend/library"
3) Ran following index.php:
require_once 'Zend/Loader/AutoloaderFactory.php';
require_once 'Zend/Loader/StandardAutoloader.php';
require_once 'Zend/Loader/SplAutoloader.php';
$options = array(Zend_Db::AUTO_QUOTE_IDENTIFIERS => true);
$db = new Zend_Db_Adapter_Pdo_Mysql(array(
'host' => MYSQL_HOST,
'username' => MYSQL_BENUTZER,
'password' => MYSQL_KENNWORT,
'dbname' => MYSQL_DATENBANK,
'options' => $options
));`
Background: It's my first time using Zend. I am working on an Apache Server with PHP 5.3.21. I am using Zend 2.2.5