+ -
当前位置:首页 → 问答吧 → thinkphp配置到include_path的问题

thinkphp配置到include_path的问题

时间:2010-12-08

来源:互联网

我在php.ini中配置了一个
include_path = ".:/var/www/html/include_path"
在include_path 里面分别放置了ThinkPHP和ThinkPHP2两个目录,然后程序中调用时候index.php中写 define('THINK_PATH', 'ThinkPHP2');
一直提示错误
Fatal error: Call to undefined function compile() in /var/www/html/include_path/ThinkPHP2/Common/runtime.php on line 55

作者: henryyexm   发布时间: 2010-12-08

顶一下,我遇到了同样的问题!!

作者: sunstear   发布时间: 2011-12-09