php zend framework 安装
今天看了zend framework的入门教程1.5.2,按照例子Zend Framework配置快速指南配置了zend framework。问题还是出了不少。
zend framework安装
配置完成后出现这样的错误,忙了大半天找不到解决方法。最后看了phpinfo页面才知道Loaded Configuration File D:\WINDOWS\php.ini。我改的配置是C:\php5\php.ini。自己都傻了。晕
Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The PDO extension is required for this adapter but the extension is not loaded' in D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zf-tutorial\library\Zend\Db\Adapter\Pdo\Abstract.php:107 Stack trace: #0 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zf-tutorial\library\Zend\Db\Adapter\Abstract.php(417): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zf-tutorial\library\Zend\Db\Adapter\Pdo\Abstract.php(230): Zend_Db_Adapter_Abstract->query('DESCRIBE `album...', Array) #2 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zf-tutorial\library\Zend\Db\Adapter\Pdo\Mysql.php(136): Zend_Db_Adapter_Pdo_Abstract->query('DESCRIBE `album...') #3 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zf-tutorial\library\Zend\Db\Table\Abstract.php(696): Zend_Db_Adapter_Pdo_Mysql->describeTable('albums', NULL) #4 D:\Program Files\Apache Software Foundation\Apache in D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zf-tutorial\library\Zend\Db\Adapter\Pdo\Abstract.php on line 107
推荐阅读
-
zend framework多模块多布局配置_php技巧
-
linux下安装php的memcached客户端
-
PHP Opcache安装和配置方法介绍
-
apache2.2.4+mysql5.0.77+php5.2.8安装精简_php技巧
-
阿里云服务器cent0S安装web环境PHP+MySql+Nginx,给nginx添加网站
-
zend framework 提供的webservices解决思路
-
基于Zend的Captcha机制的应用_PHP
-
linux下安装PHP出现的有关问题,请帮忙,小弟我快不行了
-
小弟我想用zend framework 开发php网站,以前从来没用过,不知从何入手
-
PHP学习笔记 IIS7下安装配置php环境