【发布时间】:2014-07-23 06:35:44
【问题描述】:
我已经在我的本地机器上安装了 zend 骨架应用程序。我正在开发 ubuntu。 我已经手动安装了它而不使用作曲家。 我在 httpd.conf 中给出了 ZF2_PATH(zend 库路径)。如下:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
SetEnv ZF2_PATH /var/www/lib/ZendFramework-2.3.1/library
SetEnv APPLICATION_ENV "development"
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
一切正常。
我需要将此代码放在服务器上。我没有配置 httpd.conf 的 root 访问权限
那么如何在 application.config.php 中给出库路径? 任何帮助都会很有用。
【问题讨论】:
标签: apache zend-framework zend-framework2