卸载并重新安装 wamp 后无法访问 Zend 项目 [英] cannot access Zend projects after uninstalling and re-installing wamp

查看:40
本文介绍了卸载并重新安装 wamp 后无法访问 Zend 项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我错误地卸载了 WAMP,然后下载并重新安装了一个相同版本的新 WAMP.查看 WAMP 目录后,我可以看到我的数据库仍然完好无损(我认为)并且我可以通过 MYSQL 客户端访问它们.但是我无法像意外卸载之前那样访问我的项目.我的项目是 Zend.我在新的 PHP 安装中设置了 PHP include_path 指向 ZendFramework 库文件夹和 WAMPwww"文件夹.我重新创建了新的 APACHE v-hosts 以指向旧项目.这些是我至今记得做的配置.

I uninstalled WAMP in error, then downloaded and reinstalled a new one, same version. Having looked through the WAMP directories, I can see that my databases are still intact(I think) and I can access them through a MYSQL client. But I am unable to access my projects as before the accidental uninstal. My projects are Zend. I have set PHP include_path on the new PHP installation to point to ZendFramework library folder and to WAMP "www" folder. I have re-created new APACHE v-hosts to point to the old projects. These are the configurations I remember to do so far.

所以我无法像在旧 WAMP 上那样访问我的 zend 项目.我觉得这是一个配置问题,因为所有项目文件和目录似乎都像 MYSQL 文件/目录一样完好无损.我不断得到

So I am unable to access my zend projects as I had on the old WAMP. I feel it is a configuration issue because all project files and directories seem to be intact just like the MYSQL files/directories. I keep getting

The requested URL /xyz/ was not found on this server

我只能访问这些项目的主页,而不能访问其他页面/子文件夹.

I can only access the home pages of these projects, but no other pages/sub-folders.

推荐答案

也许你的 apache 配置有问题,找 http.conf/httpd.conf.在 http.conf 文件中找到条目,并确保AllowOverride"和Options"值设置为All"(默认设置为 None).您可以按照此链接 转到第 4 步.apache 配置,这可能对您有所帮助.

Perhaps you are having problem with apache configuration, find http.conf/httpd.conf. Find the entry within http.conf file, and ensure that ‘AllowOverride‘ and ‘Options‘ values are set to ‘All‘ (by default these are set to None). You can follow this link move to step 4. apache configuration, that might help you.

这篇关于卸载并重新安装 wamp 后无法访问 Zend 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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