3

I just upgraded the PHP version of XAMPP from PHP 7.1.7 to PHP 7.2.0 using the guidelines from this article.

Then I tried restarting the XAMPP but I got this error:

10:54:47 AM  [Apache]   Error: Apache shutdown unexpectedly.
10:54:47 AM  [Apache]   This may be due to a blocked port, missing dependencies, 
10:54:47 AM  [Apache]   improper privileges, a crash, or a shutdown by another method.
10:54:47 AM  [Apache]   Press the Logs button to view error logs and check
10:54:47 AM  [Apache]   the Windows Event Viewer for more clues
10:54:47 AM  [Apache]   If you need more help, copy and post this
10:54:47 AM  [Apache]   entire log window on the forums

After that I opened up my Skype and in the Connection tab, I disabled the checkobox "Use port 80 and 443 for alternatives for incoming connections". Then I tried restarting the Apache but again I got the error message.

Next thing that I did was changing the Listen 80 to Listen 1372 in httpd.conf and also the ServerName localhost:80 to ServerName localhost:1372 in the same file. And then tried to start the Apache but one more time I got the same error.

I also changed this:

<VirtualHost _default_:443>

ServerName www.example.com:443

to this:

<VirtualHost _default_:4433>

ServerName localhost:4433

in the httpd-ssl.conf file. But until now the Apache can not start and returns the same error message.

So what should I do now?

4 Answers4

4

Goto Apache config -> Apache (httpd.config) -> change "Listen 80 to 81"

on broswer-> http://localhost:81/phpmyadmin/

Eldhopj
  • 2,703
  • 3
  • 20
  • 39
1

Go to C:\xampp\mysql\backup.

Copy all files.

Paste them into C:\xampp\mysql\data.

If Windows asks you to replace some files, replace them.

If your XAMPP Control Panes is active close it.

Go to C:\xampp and find xampp-control, run it.

Start Apache, start MySQL.


That's it.

Enjoy!

Ika
  • 302
  • 2
  • 3
-2

please do these steps as well

In the Control Panel, click on the main Config button again. Click on Service and Port Settings. Change the Main Port to 8080 and the SSL Port 4433. Close out of Configuration. Stop and Start Apache. Click the Admin button by Apache and it should open up the XAMPP home page in your browser.

I hope this will work!

Prabhat Singh
  • 891
  • 8
  • 17
-3

If you have installed Skype Software .

Then Open Skype:

Go to Menu:

Tools -> Options -> Advanced -> Connection.

Uncheck the "Use port 80 and 443 for additional for incoming connections"

Sign Out and Close the Skype software. Then restart your Apache.