Reputation: 13199
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.
Upvotes: 0
Views: 1622
Reputation: 13199
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!
Upvotes: 0
Reputation: 56
as you are working on Windows you might have to configure your host file and allocate a different ip for your vm then add a new alias(or change your alias) in your http-xampp.conf
Upvotes: 0
Reputation: 9979
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.
Upvotes: 0
Reputation: 56
The screen you get is the real (splash) screen choose your language from there you will be routed to make the basic setup options, then you will see the phpmyadmin link under the subheading "Tools", select it and see what the link is for you
Upvotes: 1