【发布时间】:2016-02-09 04:56:11
【问题描述】:
我已经使用以下链接在我的 ubuntu 14.04 系统上设置了 zf2
http://framework.zend.com/manual/current/en/user-guide/overview.html
这对我有用,并且已在我的 /var/www/html/zf2
中设置
我也遵循了虚拟主机教程中给出的所有说明,但是现在当我将任何其他 php 文件放在我的 /var/www/html/test.php 中时,这不会被执行。
我真的不确定自己在做什么。
更多详情
我的主机文件包含
127.0.0.1 zf2.local localhost
127.0.0.1 localhost
/etc/apache2/sites-enabled/zf2
<VirtualHost *:80>
ServerName zf2.local
DocumentRoot /var/www/html/zf2/public
SetEnv APPLICATION_ENV "development"
<Directory /var/www/html/zf2/public>
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
如果有人可以指导我,那将非常有帮助。
【问题讨论】:
标签: php apache zend-framework2 ubuntu-14.04