thinkPHP 环境搭建遇到的问题

来源:互联网 发布:审美观 知乎 编辑:程序博客网 时间:2024/05/22 17:04
 1 安装好wamp 之后,访问http://localhost/项目应用 出现没有权限访问,是因为Apache做了较为严格的限制。修改httpd.conf文件,将访问权限信息中红色部分修改成当前代码即可:
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories). 
#
# First, we configure the "default" to be a very restrictive set of 
# features.  
#
<Directory />
    Options Indexes FollowSymLinks
    AllowOverride None
</Directory>
0 0