需要修改php目录下php.ini
include_path = ".:/wwwroot/zhangheng/www/wowdb/DuoWan/lib/:.:/usr/local/php5210//include/php/include"
/wwwroot/zhangheng/www/wowdb/DuoWan/lib/ (为程序的目录)
/usr/local/php5210//include/php/include (为Zend框架的目录,include目录有Zend框架目录)
即可。
本文转自 liang3391 51CTO博客,原文链接:http://blog.51cto.com/liang3391/456594