I recieve this error after i attempt to run constructor of
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
Can there be any solution?
Well a component from altering your host company you could attempt these things:
mysqlican 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):
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
Php array configuration:
array( 'database' => array( 'adapter' => 'Mysqli',
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()