[英]How to install zend framework on ubuntu 14.04
I have install zend framework using skeleton application on my machine ie ubuntu 14.04 LTS. 我已经在机器上使用骨架应用程序安装了zend框架,即ubuntu 14.04 LTS。 I follow following steps.
我遵循以下步骤。
using the apache web server set virtual host 使用apache网络服务器设置虚拟主机
<VirtualHost *:80> ServerName zf2-tut.localhost DocumentRoot /var/www/html/zf2-tut/ZendSkeletonApplication/public SetEnv APPLICATION_ENV "development" <Directory /var/www/html/zf2-tut/ZendSkeletonApplication/public> DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
after i edit hosts page from etc folder and add there 127.0.0.1 zf2-tut.localhost localhost this line. 在我从etc文件夹编辑主机页面并在其中添加127.0.0.1 zf2-tut.localhost localhost之后 。
Tell me Where it go wrong. 告诉我哪里出了问题。
Help 救命
It' not ZF-related problem. 这不是与ZF相关的问题。
You have added zf2-tut.localhost
to the hosts file, but you are trying to access it with http://zf2-tut/localhost
instead of http://zf2-tut.localhost
. 您已经将
zf2-tut.localhost
添加到hosts文件,但是您尝试使用http://zf2-tut/localhost
而不是http://zf2-tut.localhost
。
Can you make sure that the domain is consistent - including webserver's vhost. 您可以确保域一致-包括Web服务器的虚拟主机。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.