这几天接到个任务,将学院scis系统的数据库由postgre迁至mysql,系统用到了zend框架。
今天学习了一下,结果出现Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The PDO extension is required for this adapter but not loaded' in的错误,
解决方案是:
修改php.ini:去掉以下两项前边的;
;extension=php_pdo.dll
;extension=php_pdo_mysql.dll
然后重启apache