Zend Framework unter OpenBSD

Ich habe vorhin eine Webapplikation die das Zend Framework nutzt auf den OpenBSD-Server kopiert und mich gewundert, warum im error-Log immer folgendes Stand:

PHP Fatal error:  Uncaught exception
'Zend_Db_Adapter_Exception'
with message 'The mysql driver
is not currently installed'
(...)
Zend_Db_Adapter_Pdo_Abstract->_connect()

Es es lag an Pdo. Das Problem konnte man lösen, indem man das Paket php5-pdo_mysql-5.2.3.tgz installiert:

# pkg_add -v php5-pdo_mysql-5.2.3.tgz

und mit einem

# /usr/local/sbin/phpxs -a pdo_mysql

aktiviert.

Comments are closed.