I recieve this error after i attempt to run constructor of Zend_Db_Adapter_Pdo_Mysql:

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

I personally use a shared host and that i cannot alter the php.ini.

Can there be any solution?

Well a component from altering your host company you could attempt these things:

  • Use Zend_Db_Adapter_Mysqli (presuming mysqli can be obtained)
  • Write your personal adapter while using mysql_*-functions (or make use of an existing one)
  • Attempt to load the PDO extension dynamically (presuming it's available and enable_dl is on, safe_mode is off):
    dl('pdo.so')

    dl('pdo_mysql.so')

Attempt to change to Mysqli or any other adapter?

Ought to be quite simple, with respect to the configuration from the Zend application, alter the db adapter value.

In json type configuration it's

"db": 

Php array configuration:

 array(

    'database' => array(

        'adapter' => 'Mysqli',

Ini type:

db.adapter = "Mysqli"

This really is all, obviously, if you're creating a db adapter with the configuration and taking advantage of it as being a bootstrap resource. Otherwise, simply instantianate another db adapter:

$db = new Zend_Db_Adapter_Mysqli()