简体   繁体   中英

How can I see phpmyadmin with XAMPP?

I have installed XAMPP in a virtual machine with VirtualBox. I run both Apache and MySql and there aren't any errors.

I can access phpmyadmin from this virtual machine but if I try to run it on the real machine, I can't get it.

I tried to put http://IP of the virtual machine/phpmyadmin but it doesn't work.
If I put only http://IP of the virtual machine I can see a webpage in which it says "It works".

If I try to use http://localhost in the virtual machine I can see a page in which I see "XAMPP" and where I can choose the language in which I want to use it.

I want to use phpmyadmin from real machine.

您得到的屏幕是真实的(初始屏幕)屏幕,从那里选择您的语言,您将被路由到基本设置选项,然后您将在“工具”子标题下看到phpmyadmin链接,选择它并查看链接的含义您

Create a host only network in virtualbox. Configure the network in your guest machine. Then using IP of guest in the host only network try http://IP/phpmyadmin . It will work if you have installed it correctly.

当您在Windows上工作时,可能必须配置主机文件并为VM分配一个不同的IP,然后在http-xampp.conf中添加一个新别名(或更改别名)。

Finally, I realized that I had installed Apache 2.4 in my real machine so the main page that I saw before and could see this: "It works" was from this Apache.

I solved it uninstalling Apache, and now it works perfectly.

Thanks all of you for your answers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM