dsfykqq3403 2016-02-08 14:02
浏览 57

已安装Laravel但Phpmyadmin与Laravel Routes存在冲突

I Have installed Laravel on my Windows. So While accessing http://localhost:8000/phpmyadmin it doesn't seem to be working since it has some kind of conflict with laravel routes.

Sorry, the page you are looking for could not be found.

1/1NotFoundHttpException in RouteCollection.php line 161:

How can I fix this?

  • 写回答

2条回答 默认 最新

  • dstm2014 2016-02-08 16:05
    关注

    javad71

    It would appear that your issue is this. When you run your server for you laravel installation, your system is looking at the /path/to/code/public folder. This folder in the Laravel installation does have an .htaccess file that does some 'magic' for laravel translating the url you visit into the correct route.

    Thus, the configuration inside of the phpmyadmin setup is not getting hit when you visit /phpmyadmin from the browser at the root of your laravel project.

    A couple suggestions here for this.

    1: Change Laravel to not use port 8000 if you can typically run phpmyadmin from that domain. If you started laravel server by running the artisan command, the port can be changed by running php artisan serve --port 8888 where 8888 is any other open port.

    2: In the PHP My Admin configuration, change the port number it listens on to something else.

    -Brian

    评论

报告相同问题?

悬赏问题

  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大