I\'m using XAMPP, and I can start Apache, but, MySQL (phpMyAdmin) start!
When I start, I get this error;
10:07
Press Windows+R, and type regedit
.
Go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP
Change the value of Start
to 4, which means disabled.
Reboot your computer.
In my case it was a simple case of removing IIS because Windows 10 comes with IIS (Internet Information Service) pre installed - that conflicts with XAMPP because these both servers try to use the port 80. If you don't want to use IIS and keep using XAMPP
Then restart.
I have tried all the above solutions. But it was not working in any way.
Finally, I just uninstalled XAMPP and installed it again. Then it worked for me.
Now I am able to run the server on any port (including 80).
That was simple for me!
Try to run the XAMPP Control Panel as administrator.
You may just have updated your Windows to Version 1903 (OS Build:18362.239) or have changed user passwords. Despite having eliminated all port conflicts, I still kept getting the messages described by the OP at the very start of this post.
In the end I cured it by upgrading to XAMPP to 7.3.7. (When forced to reinstall, you might as well upgrade at the same time!)
But the problem reoccurred when I again went to change the 'root' user password.
The console error messages were masking the fact that table mysql.user was corrupt.
Check file mysql_error.log. If you are seeing Fatal error: Can't open and lock privilege tables: Index for table 'user' is corrupt; try to repair it, then have a look at this.
You can change the port of Apache:
NameVirtualHost *:80 here
VirtualHost *:80 and here (two times)
To enter your web page, type: http://localhost:81/index.html