一位朋友问我如何将他使用Zend Framework开发的站点迁移到另一台服务器。我复制所有文件和本地导入了数据库,在测试中,下列消息显示在浏览器中:使用未定义的常量APPLICATION_ENV
Notice: Use of undefined constant APPLICATION_ENV - assumed 'APPLICATION_ENV' in C: \ wamp \ www \ zend \ new \ public_html \ index.php on line 5
Warning: require_once (Zend/Application.php): failed to open stream: No such file or directory in C: \ wamp \ www \ zend \ new \ public_html \ index.php on line 10
Fatal error: require_once(): Failed opening required 'Zend/Application.php' (include_path = 'C: \ php. \ Pear') in C: \ wamp \ www \ zend \ new \ public_html \ index.php on line 10
的代码看起来很混乱,我无法找到问题的是什么都没有改变。
我不知道Zend,需要一只手。
有一个额外的' (反引号)......(在双引号结尾后)。 – siliconpi