在Homestead盒子上设置phpmyadmin

问题描述 投票:0回答:1

是的,我读了整个主题here。我尝试了那里描述的所有方法。但我不能在VM上运行这个phpmyadmin的东西!现在它更加详细。我安装了Virtual Box,Vagrant并添加了Homestead。然后我建立了Homestead:

ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox

authorize: F:\Server\Homestead\.ssh\id_rsa.pub

keys:
    - F:\Server\Homestead\.ssh\id_rsa

folders:
    - map: F:\Server
      to: /home/vagrant/server

sites:
    - map: corporate.com
      to: /home/vagrant/server/corporate/public

databases:
    - homestead

“corporate.com” - 它是测试网站。启动VM后,它工作正常。

现在让我们来看看topic提出的关于为宅基地安装phpmyadmin的解决方案列表

1)enter image description here上述所有操作在尝试访问phpmyadmin时都会导致错误502

2)enter image description here enter image description here

这些步骤也导致502错误

3)enter image description here

这导致了这个结果enter image description here

4)下一个enter image description here和结果:enter image description here

但为什么? corporatephpmyadmin在同一个目录中。但是,第一个启动并运行,phpmyadmin导致此错误。我不明白发生了什么。我尝试了很多选项,但其中没有一个在我的计算机上不起作用。

mysql nginx phpmyadmin homestead
1个回答
1
投票

我认为你需要使用.test(或其他东西)而不是.app

Chrome最近有一个更新,它会阻止.app.dev正常工作。

© www.soinside.com 2019 - 2024. All rights reserved.