无法在 WAMP 上运行 Zend 框架 MVC 应用程序 [英] Can't run zend framework MVC application on WAMP

查看:42
本文介绍了无法在 WAMP 上运行 Zend 框架 MVC 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Zend 框架应用程序的新手.我在网上找到了一本书,里面有它的源代码示例,我正在努力学习 zend 框架 mvc.我在 wamp 中提取了 www 中的示例文件夹.当我尝试访问应用程序 localhost/exampleMVC/时,我得到一个页面,其中包含该目录中除 public 之外的所有文件夹,该页面应该可用于服务器,当我尝试访问它 localhost/exampleMVC/public 时,出现错误页面错误 500;内部服务器错误.

I am new to zend framework application. I got a book online with it's source code example and I'm trying to work on in to learn about zend framework mvc. I extracted the example folder in www in wamp. When I try to reach the application localhost/exampleMVC/ I get a page with all folders in that directory except for the public, the one should be available for the server and when I try to access it localhost/exampleMVC/public I get an error page Error 500; internal server error.

我想念什么!?

谢谢

推荐答案

只是你错过了启用 mod_rewrite 来解决它转到

simply you missed to enable mod_rewrite to solve it go to

WAMP -> APACHE -> apache modules -> then click on the mod rewrite 

你会注意到 apache 自己重启了你很高兴去

you would notice that apache restart itself and you be good to go

我在 2 年前做了一个关于 zf + wamp 设置的截屏视频,欢迎您观看http://www.zendcasts.com/开始使用 Zend-and-wamp-server/2009/06/

i did a screencast about zf + wamp setup before 2 years , you are welcome to watch it http://www.zendcasts.com/getting-started-with-zend-and-wamp-server/2009/06/

这篇关于无法在 WAMP 上运行 Zend 框架 MVC 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆