我开始玩Zend FrameWork,但是我遇到了麻烦。我尝试按照超级指南From Zero To Zend Framework in 10 minutes,但它没有任何结果。无法访问Linux上的本地LAMP服务器上的索引Mint
我也渐渐认为annyoing消息
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
两次。
而我设法修复that,这是我的本地服务器的样子。 。
这就是我的/etc/hosts
的样子。
127.0.0.1 localhost
127.0.0.1 prueba.local
127.0.1.1 dradis
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
而且,根据1,我的虚拟主机配置应该如何。这是在/sites-avaliable
,但符号链接到/sites-enabled
。
prueba.local
:
<VirtualHost *:80>
ServerName prueba.local
DocumentRoot /home/seba/solartekka/test/prueba/public
</VirtualHost>
/home/seba/solartekka/test/prueba
是在那里我有我的项目。
我已经完成了两天的战斗,我的精神已经破灭。有没有人有可能发生什么的想法?
我试着给我提供尽可能多的相关信息,但如果您需要更多,我会高兴地提供它。
谢谢!
有时,我遇到了权限问题。作为一个测试,尝试设置'chmod 0777 public/index.php'。此外,您可以尝试直接浏览到“http:// prueba.local/index.php”。 –
就是这样! index.php! Weid。谢谢,不幸的是,我可以接受你的评论作为答案。 – Sebastialonso
我会将其添加为答案。 ;-)保持精神状态。 ZF有时会感觉像是陡峭的爬坡,但这是一个很棒的框架--ZF2更好 - 我从中学到了很多东西。 –