I'm utilizing a hosting that is shared through CIPL.in. They will use cpanel. I'm attempting to deploy a ZEND application on my small website. Nevertheless it keeps giving the mistake.

A mistake happened

Application error

Exception information:

Message: The PDO extension is needed with this adapter however the extension isn't loaded

Stack trace:

# /home/cubeeeco/worminc/library/Zend/Db/Adapter/Abstract.php(770): Zend_Db_Adapter_Pdo_Abstract->_connect()

#1 /home/cubeeeco/worminc/library/Zend/Db/Adapter/Abstract.php(840): Zend_Db_Adapter_Abstract->quote('windchimes', NULL)

#2 /home/cubeeeco/worminc/library/Zend/Auth/Adapter/DbTable.php(354): Zend_Db_Adapter_Abstract->quoteInto('`password` = MD...', 'windchimes')

#3 /home/cubeeeco/worminc/library/Zend/Auth/Adapter/DbTable.php(285): Zend_Auth_Adapter_DbTable->_authenticateCreateSelect()

#4 /home/cubeeeco/worminc/library/Zend/Auth.php(117): Zend_Auth_Adapter_DbTable->authenticate()

#5 /home/cubeeeco/worminc/application/remotes/LoginController.php(117): Zend_Auth->authenticate(Object(Zend_Auth_Adapter_DbTable))

#6 /home/cubeeeco/worminc/library/Zend/Controller/Action.php(503): LoginController->processAction()

#7 /home/cubeeeco/worminc/library/Zend/Controller/Dispatcher/Standard.php(285): Zend_Controller_Action->dispatch('processAction')

#8 /home/cubeeeco/worminc/library/Zend/Controller/Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))

#9 /home/cubeeeco/public_html/earthworm/index.php(47): Zend_Controller_Front->dispatch()

#10 primary

Also after i attempt to print the phpinfo I recieve:

System  Linux bear.dnsracks.com 2.6.18-92.1.13.el5PAE #1 SMP Get married Sep 24 20:07:49 EDT 2008 i686

Build Date  Jun 8 2009 13:50:29

Configure Command   './configure' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-miracle-quotes' '--enable-mbstring' '--enable-sockets' '--prefix=/usr' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-png-dir=/usr' '--with-ttf' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'

Server API  CGI

Virtual Directory Support   disabled

Configuration File (php.ini) Path   /usr/lib

Loaded Configuration File   /usr/local/lib/php.ini

Scan this dir for further .ini files     (none)

additional .ini files parsed    (none)

PHP API     20041225

PHP Extension   20060613

Zend Extension  220060519

Debug Build     no

Thread Safety   disabled

Zend Memory Manager     enabled

IPv6 Support    enabled

Registered PHP Streams  php, file, data, http, ftp, compress.zlib, https, ftps

Registered Stream Socket Transports     tcp, udp, unix, udg, ssl, sslv3, sslv2, tls

Registered Stream Filters   string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*

This is often seen at http://cubeee.co.in/earthworm/tester.php

However, if I return to my hosting companies, they let me know they have modified the php.ini make it possible for the PDO support and they'll check again. What exactly is it that I have to do or request my hosts to complete?

The configure command inside your PHP output shows:


and so i think it's safe to visualize they haven't enabled it.

Performs this application want Pdo_Mysql? If to have the ability to make use of the Mysqli adapter rather - it is dependent around the software but it is possible.

In the region in which you set your database connection particulars, there's most likely a choice known as 'adapter'. Try setting its value to 'mysqli'