• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Can't execute XAMPP

Hades95

New Member
Joined
Apr 18, 2020
Messages
14
Reaction score
4
Hi guys, I have got a new computer and I wanted to test my server but I'm not being able to start the Apache and MySQL from XAMPP, could you please help me?
I have verified the port is not being used by another application. Verified the port is open from the Firewall and also I have added the port to my router also, but I still can't start Apache and MySQL. I hav been looking for a solution in google but I didn't find anything that helps me.
Could somebody please help me to figure out what should I do?

Here's an screenshot of the error:
XAMPPerror.PNG
 

slaw

Developer
Joined
Aug 27, 2007
Messages
3,282
Solutions
101
Reaction score
767
Location
Germany
GitHub
slawkens
Open windows console: Windows Taste + R and write "cmd".

In the console write:

1) c: (to enter C: drive)
2) cd xampp (to enter xampp folder)

If you have your xampp folder somewhere else, then you need to cd respectively.

In the Xampp folder, enter following command (still in cmd):

1) apache_start.bat

Then you will see something like that (with the error). In my case,the error was port that was already binded.
1622660492751.png

The same goes with MySQL.

The command is:

mysql_start.bat
 
OP
OP
Hades95

Hades95

New Member
Joined
Apr 18, 2020
Messages
14
Reaction score
4
This is the error displayed on the console, I have verified the line 29 in the httpd.conf file and I don't understand what to do: I will attach the error screenshot and the httpd.conf document atline 29.
XAMPPError02.PNG
XAMPPError03.PNG

And the error for the MySQL is this one:
XAMPPError04.PNG

Thank you for the help

EDIT:
I figured out how to fix this, if anyone else is having this problem just go to your XAMPP Control Panel and run this command: setup_xampp.bat on the shell . This fixed my problems with both Apache and MySQL.
 
Last edited:
Top