[英]PHP my admin not working after reinstalled WAMP
Wamp, phpMyAdmin and stuff worked perfectly until i upgraded it from phpmyadmin4.0.4 to phpmyadmin4.1.14. Wamp,phpMyAdmin和其他东西运行良好,直到我将其从phpmyadmin4.0.4升级到phpmyadmin4.1.14。
Now i get 'You don't have permission to access /phpmyadmin/ on this server.' 现在,我得到“您无权访问此服务器上的/ phpmyadmin /。” message... 信息...
myPhpAdmin.conf is here: myPhpAdmin.conf在这里:
<Directory "c:/wamp/apps/phpmyadmin4.1.14/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
<IfDefine APACHE24>
Require local
</IfDefine>
<IfDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from localhost ::1 127.0.0.1
</IfDefine>
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</Directory>
I haven't found solution for this... Thanks 我还没有找到解决方案...谢谢
EDIT 1: 编辑1:
Now, here is a strange thing. 现在,这是一件奇怪的事情。 Apache error logs outputs this when i try to access http://localhost/phpmyadmin/
: 当我尝试访问http://localhost/phpmyadmin/
时,Apache错误日志输出以下内容:
[Thu May 28 17:52:12.600573 2015] [authz_core:error] [pid 5872:tid 800] [client ::1:50257] AH01630: client denied by server configuration: C:/wamp/apps/phpmyadmin4.0.4, referer: http://localhost/
As you can se client denied by server configuration on wrong folder (server outputs phpmyadmin with 4.0.4 version - according to phpmyadmin syntax)! 如您所见,客户端被错误的文件夹上的服务器配置拒绝(服务器输出phpmyadmin 4.0.4版本-根据phpmyadmin语法)!
I think that is wrong, but how can i change that server configuration? 我认为这是错误的,但是我该如何更改服务器配置?
The first line of \\wamp\\alias\\phpmyadmin.conf
should also be amended to match the new folder location of your upgraded phpmyadmin \\wamp\\alias\\phpmyadmin.conf
的第一行也应进行修改,以匹配升级后的phpmyadmin的新文件夹位置
Alias /phpmyadmin "c:/wamp/apps/phpmyadmin4.1.14/"
Did you do that? 是你做的吗?
I had a similar problem and I just uninstalled everything again and then installed it, but this time ran the install as Administrator. 我遇到了类似的问题,只是再次卸载了所有内容,然后安装了它,但是这次以管理员身份运行安装。 That actually fixed it. 这实际上解决了它。 Hope it helps. 希望能帮助到你。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.