Estoy siguiendo un Video-Tutorial para iniciarme en este framework y cuando toca realizar la conexion con la BBDD y visualizo la web en la que se ejecuta me da este error:
Yo escribió:
Message: The Mysqli extension is required for this adapter but the extension is not loaded
Y seguidamente donde escuentra los errores en las funciones:
Yo escribió:
Stack trace:
#0 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
#1 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Adapter/Mysqli.php(194): Zend_Db_Adapter_Abstract->getConnection()
#2 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(835): Zend_Db_Adapter_Mysqli->describeTable('blog', NULL)
#3 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(857): Zend_Db_Table_Abstract->_setupMetadata()
#4 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(897): Zend_Db_Table_Abstract->_getCols()
#5 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(982): Zend_Db_Table_Abstract->_setupPrimaryKey()
#6 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Select.php(100): Zend_Db_Table_Abstract->info()
#7 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Select.php(78): Zend_Db_Table_Select->setTable(Object(Application_Model_Posts))
#8 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(1018): Zend_Db_Table_Select->__construct(Object(Application_Model_Posts))
#9 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(1326): Zend_Db_Table_Abstract->select()
#10 /var/www/html/blog/application/models/Posts.php(9): Zend_Db_Table_Abstract->fetchAll()
#11 /var/www/html/blog/application/controllers/PostsController.php(8): Application_Model_Posts->getAll()
#12 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Controller/Action.php(516): PostsController->listarAction()
#13 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('listarAction')
#14 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#15 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#16 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#17 /var/www/html/blog/public/index.php(26): Zend_Application->run()
#0 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
#1 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Adapter/Mysqli.php(194): Zend_Db_Adapter_Abstract->getConnection()
#2 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(835): Zend_Db_Adapter_Mysqli->describeTable('blog', NULL)
#3 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(857): Zend_Db_Table_Abstract->_setupMetadata()
#4 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(897): Zend_Db_Table_Abstract->_getCols()
#5 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(982): Zend_Db_Table_Abstract->_setupPrimaryKey()
#6 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Select.php(100): Zend_Db_Table_Abstract->info()
#7 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Select.php(78): Zend_Db_Table_Select->setTable(Object(Application_Model_Posts))
#8 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(1018): Zend_Db_Table_Select->__construct(Object(Application_Model_Posts))
#9 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Db/Table/Abstract.php(1326): Zend_Db_Table_Abstract->select()
#10 /var/www/html/blog/application/models/Posts.php(9): Zend_Db_Table_Abstract->fetchAll()
#11 /var/www/html/blog/application/controllers/PostsController.php(8): Application_Model_Posts->getAll()
#12 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Controller/Action.php(516): PostsController->listarAction()
#13 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('listarAction')
#14 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#15 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#16 /var/www/html/ZendFramework-1.11.11-minimal/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#17 /var/www/html/blog/public/index.php(26): Zend_Application->run()
Antes de postear he estado buscando por la web informacion del error y como solucionarlo, he visto muchissimas webs en ingles y he descubierto como reparar el error pero en Windows y yo estoi trabajando en LiNUX (mint 12).
Entonces lo que tengo que hacer es instalar esta extension de Mysqli en PHP y luego configurarla en el php.ini. Pero lo primero de todo es que no se que hacer para instalarla.
Llevo tres dias con el problema y estoy mosqueado porque no puedo seguir aprendiendo...
Alguien me echa una mano porfavor?
Gracias!