XAMPP Apache won’t start
I reinstalled it in another drive and that fixed it. But I have no idea what caused the problem in the first place.
I reinstalled it in another drive and that fixed it. But I have no idea what caused the problem in the first place.
Open phpMyAdmin in a browser and log in as root. Create a database called phpmyadmin Create a user called pma and set the “host” to the hostname or IP address of your web server (if the web server and MySQL are on the same box use localhost), make a note of the password, and grant the new user full … Read more
If you have MySQL already installed on your windows then go to services.msc file on your windows and right click the MySQL file and stop the service, now open your XAMPP and start MySQL. Now MySQL will start on the port 3306.
Ok, thanks for the more specific info, ppl may remove their downvotes now… What you are proposing is a very common thing to do! You want to run your web application locally without uploading it to your host yet. That’s totally fine and that’s what your Apache is there for. Your Apache is a web … Read more
I am learning server and sql. So I need to install xampp. But unfortunately my localhost/index.php and localhost/xampp not working. I read many questions here stackoverflow but none solved my problem. Here is my httpd-xampp.conf file: This is what I got when I tried to access localhost/xampp/ and localhost/index.php The image is here: Please suggest … Read more
If you have defined Virtual Hosts, and thats a very good idea, then you need to define the vhosts name in the HOSTS file. For example, the hosts file: Otherwise windows has no way of knowing where to look for them. Another possibility for localhost not working is a corrupted HOSTS file. Try deleting it … Read more
Ok, Create a page yourpage.html / yourpage.php whatever, you have to put all your pages in a folder in C:\Xampp\htdocs\ dir Then try accessing following url: localhost/yourpage.html or localhost/yourpage.php That should work.
Simply set Apache to listen on a different port. This can be done by clicking on the “Config” button on the same line as the “Apache” module, select the “httpd.conf” file in the dropdown, then change the “Listen 80” line to “Listen 8080”. Save the file and close it. Now it avoids Port 80 and … Read more
I am unable to connect to my MySQL in xampp I have this error: MySQL said: Documentation 1045 – Access denied for user ‘root’@’localhost’ (using password: NO) mysqli_real_connect(): (HY000/1045): Access denied for user ‘root’@’localhost’ (using password: NO) phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the … Read more
XAMPP only offers MySQL (Database Server) & Apache (Webserver) in one setup and you can manage them with the xampp starter. After the successful installation navigate to your xampp folder and execute the xampp-control.exe Press the start Button at the mysql row. Now you’ve successfully started mysql. Now there are 2 different ways to administrate … Read more