I have installed xampp on Windows7(64bit).I want to work with PHP, Apache and MySql. The server Apache and the MySql services are running properly on the Xampp control panel. But when I run the localhost on my web browser it just shows object not found. what should i do
I am running XAMPP and trying to test my PHP but cant get my localhost to connect. I have tried directing it to different ports and nothing has improved, i have tried kill httpd and stop the apache control and restarted XAMPP, still no joy. Any advice?
You probably installed the virtual machine version of XAMPP (e.g. xampp-osx-7.4.4.0-vm.dmg). It does not run natively on your machine, but inside a box and with its own local network IP address. It cannot be reached via localhost or 127.0.0.1 by default, because they only refer to the host system. The guest system should be seen like another machine in the LAN.
You can find the IP address of the guest system in the General tab of the XAMPP app. In my case it is 192.168.64.2. If I enter that in a browser then I get redirected to the XAMPP dashboard (Welcome to XAMPP for 7.4.4-0).
You may enable port forwarding in the Network tab of the XAMPP app. Select localhost:8080 -> 80 (Over SSH) and click the Enable button. You should then be able to reach the XAMPP dashboard via localhost:8080.
I am prototyping a Wordpress site in XAMPP. Yesterday I was able log in to wp-admin. Today, when I typed http://localhost/TestSite/wp-admin, I received the following message:
Localhost refused to connect
err_connection_refused
I have tried the following:
1. Started XAMPP control panel with Admin rights
2. Used 127.0.0.1 instead of localhost
3. Attached Apache port number to localhost- localhost:1337, localhost:80
4. Multiple browsers: Chrome, Internet explorer
5. I have used Chrome with Proxy server setting unchecked
Nothing has worked
The only change I made to my computer between yesterday and today was to install a VPN. I have tried to access WP-Admin with the VPN activated and with the VPN not activated. No difference.
Make sure Apache and MySQL are activated, then Try http://localhost:8080/TestSite/wp-admin.
VPN privately assigns a port number which you can't see. So ,please uninstall the VPN, restart the system. Follow the following step-
1. Start XAMPP control panel and start Apache and Mysql port.
2. Then go to http://localhost:8080/TestSite/wp-admin.
3. Now you'll see it has started and start working on it.
Enjoy!!!
I am new to alot of things with WAMP/XAMPP, so i followed a few tutorials online, which required me to go to localhost/phpmyadmin. But every time i open the "webisite" i get an Error 404. As far as i know, no ports are blocked for either of the programs. when i start both apache and mysql on XAMPP it is highlighted green, and the ports are
Apache : 80, 443
MySQL : 3306
When i go to the WAMP icon, and test the port for Apache it says:
your port 80 is actually used by :
Server: Apache/2.4.12 (Win32) OpenSSL/1.01l PHP/5.6.8
which in my eyes isn't a problem.
I installed XAMPP for limesurveys, which i want to host locally. So everytime i open localhost in my browser it loads a website where i can choose from surveys. This list is obviously empty, but the important information is, THAT the webisite is available. now when i try open localhost/phpmyadmin i get a website telling me about Error 404 and stuff. I have checked, that phpmyadmin is installed when i installed WAMP, and also, that the alias in C:/wamp/alias/phpmyadmin.conf directs to the correct folder C:/wamp/apps/phpmyadmin4.1.14/. What im wondering is, why i cant open phpmyadmin...
If you have installed both xampp and Wamp on your machine try uninstalling one and just work with either one, I would recommend xampp. Make sure you move all your work files from htdocs or www, if your are uninstalling xampp or wamp respectively. Then try turning apache and mysql on and see if it works.
Good luck!
You can of course keep both XAMPP and WAMP running together keeping in mind that you have changed the default ports for either of it to some other ports rather than 80,443 and 3306, but sometimes it could create conflict as when you install some other third party softwares or enable certain services that run on port 80,443,3306.
The best alternative here would be to install one of the servers inside a virtual machine with network configured as "host-only-adapter" so that from the base machine you could access XAMPP/WAMP installed on the virtual machine by just pointing the ip-address of the virtual machine through a web-browser.
or,
If you want to run both XAMPP and WAMP together on the same machine but access only one of the servers at a time then you could go ahead installing both of them one after another. But, keep in mind that before installing the other server you have to completely stop all the services running from the XAMPP or WAMP control panel then quit the application. After this step you can go ahead installing the other server without changing any configurations or port numbers. This is because in this case we assumed that only one of the servers would be accessed at a time. Hence, before launching the other server one has to completely quit the application that is running currently by stopping all of it's services. If skype is installed then one has to change the default incoming connection ports to other than port 80 and 443.
Like mentioned above, if at all the intention is to access both servers up and running concurrently then taking advantage of a virtual machine would be the best to avoid conflicts and a long-term troubleshoots eventually.
If you messed up changing ports and config files then you could end up with the following error while trying to access phpmyadmin from XAMPP control panel:
**mysql said: Cannot connect: invalid settings. xampp**
note: while launching the servers , run it as administrator else some services will not start properly.
"I TRIED INSTALLING BOTH XAMPP AND WAMP ON WINDOWS 10 AS SUCH AS POINTED BY MANY THREADS I CHANGED THE DEFAULT PORTS FOR MYSQL & APACHE XAMPP AS IT WOULD CONFLICT WITH WAMP ALREADY INSTALLED ONLY ENDING UP UNABLE TO ACCESS PHPMYADMIN FROM XAMPP CONTROL PANEL. THEN REINSTALLED XAMPP WITHOUT CHANGING ANY CONFIGS OR PORTS. STOP THE WAMP SERVICES, QUIT THE APP AND THEN LAUNCH PHPMYADMIN FROM XAMPP CONTROL PANEL. AT LAST IT WORKED!. THE PROCESS LOOKS SHORT THOUGH WHEN IN REALITY IT TOOK ME COUNTLESS HOURS AND PAIN RESEARCHING ON THE WEB AND TESTING FOR A POSSIBLE SOLUTION UNTILL I CAME UP WITH THIS."
Hopes, this quick tips and guides would be helpful.
Stop all IIS services and Skype with generally use the same ports.
I created a local WordPress site and in XAMPP set it up with Virtual Hosts so the address test-wp.dev was the home adress. All was working fine and then for some reason I decided to turn off apache, leave mysql on and try the build in server.
So I navigated to C:/xampp/htdocs/test/wordpress/ and ran php -S localhost:8080
It worked fine. However, today I went to go back to test-wp.dev using the Apache server and it keeps redirecting to localhost:8080. I don't want to use the built in server now. I want Apache.
Where do I "unbind this" or free up that port or whatever. I don't want to have to run the built in server for that folder anymore.
Thanks.
Windows 7
PHP 5.6