douwen9534 2015-09-22 05:34
浏览 109

WAMP:禁止通过IP访问phpmyadmin

I installed WAMP SERVER on Windows 7 OS, when I launched WAMP SERVER icon turns green. when I hit localhost in browser it shows

website declined to show webpage

also when I try to access it with IP address in browser, it's shows WAMP index page,

but still unable to access PHPMYADMIN, browser produces error:

Forbidden, you don't have access...

  • 写回答

1条回答 默认 最新

  • donglengli0644 2015-09-22 06:13
    关注

    if you previously install WAMP and reinstalled it the it might be due to WAMP configurations. you need to set WAMP server configuration. to do so

    Change the file content of c:\wamp\alias\phpmyadmin.conf to the following.

    <Directory "c:/wamp/apps/phpmyadmin3.4.5/">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
            Order Deny,Allow
            Allow from all
    </Directory>
    

    Here my WAMP installation is in the c:\wamp folder. Change it according to your installation.

    Previously, it was like this:

    <Directory "c:/wamp/apps/phpmyadmin3.4.5/">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
            Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1
    </Directory>
    

    Restart your Apache server after making these changes.

    OR

    if you're accessing it via Routed-IP address then you MUST put you're WAMP online. to do so:

    Right Click Your WAMP icon and put online. then restart WAMP

    Source -This Answer

    评论

报告相同问题?

悬赏问题

  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码