问答详情
源自:2-3 自定义网站根目录

403 Forbidden 新手求解 弄了好几天 实在没办法了

全部按教程修改后 访问localhost提示   You don't have permission to access / on this server.
Apache/2.4.37 (Win64) PHP/7.2.14 Server at localhost Port 80


提问者:慕九州7458223 2019-12-16 11:05

个回答

  • 草帽岚梓
    2021-03-05 10:52:08

    phpmyadmin.config文件是这样的怎么改?

    Alias /phpmyadmin "F:/wamp/apps/phpmyadmin5.0.2/"


    <Directory "F:/wamp/apps/phpmyadmin5.0.2/">

      Options +Indexes +FollowSymLinks +MultiViews

      AllowOverride all

      Require local


    # To import big file you can increase values

      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>


  • 一心向慕
    2019-12-26 22:54:49

    找到你自己的wamp安装目录下的phpmyadmin.config文件 ,打开文件后查找关键词“<Directory” 

    删除Deny from all ,将Allow from 127.0.0.1 改成Allow from all,保存修改然后关闭文件,重启软件。