那么这个问题可能需要hunderds时间。但我无法使它工作。 还有就是我的目录列表:Zend加载程序问题
--main/
---- Zend/
---- dir1/
---- dir2/
这是我的一套包括路径配置:
set_include_path(PATH_SEPARATOR
. dirname(__FILE__) . DIRECTORY_SEPARATOR . 'Zend' . PATH_SEPARATOR
. get_include_path());
我也尝试seperatly将所有目录的路径。 但是Apache硬要给这些错误:
Warning: require_once(Zend/Loader.php): failed to open stream: No such file or directory in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\main\Zend\Translate.php on line 25 Fatal error: require_once(): Failed opening required 'Zend/Loader.php' (include_path=';C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\main\Zend;.;C:\php\pear') in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\main\Zend\Translate.php on line 25
这是从PHP文件,该文件是在dir1
在这些线路上抛出:
include_once '../Zend/Locale.php';
include_once '../Zend/Translate.php'; //this is the line
我怎样才能解决这个问题?
非常感谢。我的意思是非常感谢 – savruk 2011-03-25 22:54:30