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?