标签:
1、ThinkPHP3.2.3完整版(require PHP_VERSION > 5.3.0)
2、WampServer集成环境(PHP, Mysql, Apache)
问题1:
安装好wamp软件包之后,浏览器中输入http://127.0.0.1访问正常,当输入http://localhost/,apache 出现 You don‘t
have permission to access/on this server.的提示
解决方法:
该路径下:C:\wamp\bin\apache\Apache2.2.21\conf httpd.conf文件
<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory>
改为
<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Allow from all </Directory>
另外还需将
# onlineoffline tag - don‘t remove Order Deny,Allow Deny from all Allow from 127.0.0.1
改为
# onlineoffline tag - don‘t remove Order Deny,Allow Allow from all Allow from 127.0.0.1
最后重启wamp即可。
问题2:
打开localhost或127.0.0.1时发现已经可以运行了,但打开http://localhost/phpmyadmin/时,发现提示如下内容:
You don‘t have permission to access /phpmyadmin/ on this server.
解决方法:
该路径下:C:\wamp\alias phpmyadmin.conf文件
<Directory "c:/wamp/apps/phpmyadmin3.4.10.1/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory>
改为
<Directory "c:/wamp/apps/phpmyadmin3.4.10.1/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Allow from all </Directory>
最后重启wamp即可。
附:我的WampServer2版本信息
标签:
原文地址:http://www.cnblogs.com/k11590823/p/4769645.html