Xampp can't start apache in Windows 10 - windows

I updated to Windows 10 today and I need to install XAMPP. When I do, I have one problem. When I start Apache, it gives me the following error:
This is from the apache log:
[Sun Aug 16 20:31:11.735761 2015] [ssl:warn] [pid 4600:tid 164] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 16 20:31:12.230789 2015] [ssl:warn] [pid 4600:tid 164] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 16 20:31:13.463859 2015] [mpm_winnt:notice] [pid 4600:tid 164] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.6.11 configured -- resuming normal operations
[Sun Aug 16 20:31:13.463859 2015] [mpm_winnt:notice] [pid 4600:tid 164] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Sun Aug 16 20:31:13.463859 2015] [core:notice] [pid 4600:tid 164] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Aug 16 20:31:13.475859 2015] [mpm_winnt:notice] [pid 4600:tid 164] AH00418: Parent: Created child process 1920
[Sun Aug 16 20:31:15.265137 2015] [ssl:warn] [pid 1920:tid 480] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 16 20:31:15.663212 2015] [ssl:warn] [pid 1920:tid 480] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 16 20:31:15.863341 2015] [mpm_winnt:notice] [pid 1920:tid 480] AH00354: Child: Starting 150 worker threads.
Thanks for your help!

Related

Windows 10, XAMPP Apache won't start after PHP update from 7.3 to 7.4

I tried to update PHP7.3 to PHP7.4 for my XAMPP Apache on Windows 10. Now Apache won't start...
I'm using a self-signed security certificate for development.
The error message I'm getting from Apache is:
10:30:53 AM [Apache] Attempting to start Apache app...
10:30:53 AM [Apache] Status change detected: running
10:30:54 AM [Apache] Status change detected: stopped
10:30:54 AM [Apache] Error: Apache shutdown unexpectedly.
10:30:54 AM [Apache] This may be due to a blocked port, missing dependencies,
10:30:54 AM [Apache] improper privileges, a crash, or a shutdown by another method.
10:30:54 AM [Apache] Press the Logs button to view error logs and check
10:30:54 AM [Apache] the Windows Event Viewer for more clues
10:30:54 AM [Apache] If you need more help, copy and post this
10:30:54 AM [Apache] entire log window on the forums
These are the latest error log entries:
[Thu Jun 18 09:50:08.253500 2020] [ssl:warn] [pid 3120:tid 520] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 18 09:50:08.253500 2020] [ssl:warn] [pid 3120:tid 520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 18 09:50:08.278953 2020] [mpm_winnt:notice] [pid 3120:tid 520] AH00354: Child: Starting 150 worker threads.
I followed this tutorial:
https://medium.com/oceanize-geeks/how-to-upgrade-lower-version-to-latest-php-version-in-xampp-on-windows-f7be9a70bbb0
download Thread Safe PHP version from http://windows.php.net
unzip, rename folder to PHP
rename php folder in XAMPP (so mine is now php_7.3)
insert new php folder
inside this new php folder, I renamed php.ini.development to php.ini
then I replaced the PHP module lines in my httpd-xamp.conf as follows:
LoadFile "D:/xampp/php/php7ts.dll"
LoadFile "D:/xampp/php/libpq.dll"
LoadModule php7_module "D:/xampp/php/php7apache2_4.dll"
I'm not sure what to do and concerned that I will just mess it up even more... Help is very much appreciated! I really need Apache to work...
EDIT:
Here's today's complete error log:
[Thu Jun 18 09:50:07.558720 2020] [ssl:warn] [pid 17248:tid 512] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 18 09:50:07.559723 2020] [ssl:warn] [pid 17248:tid 512] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 18 09:50:07.611001 2020] [core:warn] [pid 17248:tid 512] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jun 18 09:50:07.613027 2020] [ssl:warn] [pid 17248:tid 512] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 18 09:50:07.613027 2020] [ssl:warn] [pid 17248:tid 512] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 18 09:50:07.648936 2020] [mpm_winnt:notice] [pid 17248:tid 512] AH00455: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.11 configured -- resuming normal operations
[Thu Jun 18 09:50:07.648936 2020] [mpm_winnt:notice] [pid 17248:tid 512] AH00456: Apache Lounge VC15 Server built: Aug 11 2019 12:20:04
[Thu Jun 18 09:50:07.648936 2020] [core:notice] [pid 17248:tid 512] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jun 18 09:50:07.655110 2020] [mpm_winnt:notice] [pid 17248:tid 512] AH00418: Parent: Created child process 3120
[Thu Jun 18 09:50:08.205628 2020] [ssl:warn] [pid 3120:tid 520] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 18 09:50:08.206625 2020] [ssl:warn] [pid 3120:tid 520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 18 09:50:08.253500 2020] [ssl:warn] [pid 3120:tid 520] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jun 18 09:50:08.253500 2020] [ssl:warn] [pid 3120:tid 520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jun 18 09:50:08.278953 2020] [mpm_winnt:notice] [pid 3120:tid 520] AH00354: Child: Starting 150 worker threads.
EDIT 2:
The result of running httpd.exe and httpd.exe -t command via the Windows command prompt:
"httpd.exe: Syntax error on line 537 of C:/xampp/apache/conf/httpd.conf: Syntax error on line 17 of C:/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load D:/xampp/php/php7ts.dll into server: The specified module could not be found."
Line 537 in httpd.confis:
# XAMPP settings
Include "conf/extra/httpd-xampp.conf"
Line 17 in http-xampp.conf is:
LoadFile "D:/xampp/php/php7ts.dll"
Further research led me to this question about php7ts.dll: php7ts.dll cannot load into server
So I ran the commands httpd.exe -v and php.exe -v.
The result is that they're both the 64-bit version, I think:
C:\xampp\apache\bin>httpd.exe -v
Server version: Apache/2.4.41 (Win64)
Apache Lounge VC15 Server built: Aug 11 2019 12:20:04
C:\xampp\apache\bin>php.exe -v
PHP 7.4.7 (cli) (built: Jun 9 2020 13:36:15) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
Confirm your confirm php7ts.dll file location and use same in apache httpd configuration file.
You can check if the settings of apache are correct:
Open command prompt and navigate to your apache installation bin folder: cd C:/xampp/apache/bin
Then run the following command to see if the syntax is OK:
httpd.exe -t

Apache don't run (xampp)

I had just downloaded xampp for try to open an Apache's server, but when i opened the xampp's application, i had tryed to start apache's server, but it didn't do nothing.
In the window on bottom there is written:
[Apache] Attempting to start Apache service...,
but i can wait for hours, and it will not do nothing for all the time.
I had seen some guide, which told that the problem could be the network's port, for example some people told that i have to change the port from 80 to 8080 in the file httpd.conf...
I tryed this solution, but the result was the same.
Have you an idea to resolve this problem?
When i open xampp the window print this:
16:41:52 [main] Initializing Control Panel
16:41:52 [main] Windows Version: Pro 64-bit
16:41:52 [main] XAMPP Version: 7.1.9
16:41:52 [main] Control Panel Version: 3.2.2 [ Compiled: Nov 12th 2015 ]
16:41:52 [main] Running with Administrator rights - good!
16:41:52 [main] XAMPP Installation Directory: "c:\xampp\"
16:41:52 [main] Checking for prerequisites
16:41:52 [main] All prerequisites found
16:41:52 [main] Initializing Modules
16:41:52 [main] Starting Check-Timer
16:41:52 [main] Control Panel Ready
16:41:54 [Apache] Attempting to start Apache service...
In the file error.log of apache i have found this message:
[Mon Oct 09 19:41:27.872180 2017] [ssl:warn] [pid 13464:tid 492] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Oct 09 19:41:28.222182 2017] [ssl:warn] [pid 13464:tid 492] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Oct 09 19:41:32.168701 2017] [mpm_winnt:notice] [pid 13464:tid 492] AH00455: Apache/2.4.27 (Win32) OpenSSL/1.0.2l PHP/7.1.9 configured -- resuming normal operations
[Mon Oct 09 19:41:32.169681 2017] [mpm_winnt:notice] [pid 13464:tid 492] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Mon Oct 09 19:41:32.169681 2017] [core:notice] [pid 13464:tid 492] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Oct 09 19:41:32.182394 2017] [mpm_winnt:notice] [pid 13464:tid 492] AH00418: Parent: Created child process 21220
Apache server shutdown initiated...
sl:warn] [pid 21220:tid 452] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Oct 09 19:41:33.053714 2017] [ssl:warn] [pid 21220:tid 452] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Oct 09 19:41:33.078015 2017] [mpm_winnt:notice] [pid 21220:tid 452] AH00354: Child: Starting 150 worker threads.
[Mon Oct 09 19:42:22.979035 2017] [mpm_winnt:notice] [pid 13464:tid 492] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Oct 09 19:42:24.981274 2017] [mpm_winnt:notice] [pid 21220:tid 452] AH00364: Child: All worker threads have exited.
[Mon Oct 09 19:42:25.016441 2017] [mpm_winnt:notice] [pid 13464:tid 492] AH00430: Parent: Child process 21220 exited successfully.

wamp on windows7 - This webpage is not available

I have been using WAMP on my localhost for a few weeks and since this morning it doesn't work.
This is the error I get when loading localhost: This webpage is not available.
Firefox error is: Unable to connect. Firefox can't establish a connection to the server at localhost.
If I try to load phpmyadmin from the wamp menu, it will return the same error.
This is my apache error log:
[Mon Sep 15 23:10:36.435939 2014] [ssl:warn] [pid 2064:tid 308] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Sep 15 23:10:36.557946 2014] [mpm_winnt:notice] [pid 2064:tid 308] AH00455: Apache/2.4.9 (Win64) OpenSSL/1.0.1g PHP/5.5.12 configured -- resuming normal operations
[Mon Sep 15 23:10:36.557946 2014] [mpm_winnt:notice] [pid 2064:tid 308] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Mon Sep 15 23:10:36.557946 2014] [core:notice] [pid 2064:tid 308] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Mon Sep 15 23:10:36.559946 2014] [mpm_winnt:notice] [pid 2064:tid 308] AH00418: Parent: Created child process 4796
[Mon Sep 15 23:10:37.751014 2014] [ssl:warn] [pid 4796:tid 208] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Sep 15 23:10:37.779016 2014] [mpm_winnt:notice] [pid 4796:tid 208] AH00354: Child: Starting 64 worker threads.
The day before having these problems I followed some instructions on how to make localhost load faster. I got to these instructions by simply googling "localhost slow" but I don't have the exact links to these things.
I do recall though, having disabling IPV6 (which I think is causing some problems now) in the regedit, by adding DisabledComponents with the value fffffff to the registry.
I've already deleted that key.
I also played around with the host file (which I believe I have reverted back to the original).
I currently only have one localhost in it (127.0.0.1). The rest are commented out.
If anyone needs more info, please let me know.
edit: I forgot to mention that when I run google app engine server, my localhost works fine with GAE applications but still doesn't budge for WAMP.

I get this error in Joomla 3.2, with a white screen

When I try to upload a new template in Joomla 3.2 (in my computer with apache, XAMPP), I get a white screen, without any error. I check the log file error, and I found these errors. Wish some of you can solve it. I don't understant what it means.
Thank you.
[Mon Jan 06 01:54:14.346499 2014] [ssl:warn] [pid 4328:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Mon Jan 06 01:54:14.530510 2014] [core:warn] [pid 4328:tid 256] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Jan 06 01:54:15.234550 2014] [ssl:warn] [pid 4328:tid 256] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Mon Jan 06 01:54:15.456563 2014] [mpm_winnt:notice] [pid 4328:tid 256] AH00455: Apache/2.4.7 (Win32) OpenSSL/0.9.8y PHP/5.4.22 configured -- resuming normal operations
[Mon Jan 06 01:54:15.456563 2014] [mpm_winnt:notice] [pid 4328:tid 256] AH00456: Apache Lounge VC10 Server built: Nov 26 2013 16:07:35
[Mon Jan 06 01:54:15.456563 2014] [core:notice] [pid 4328:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Jan 06 01:54:15.461563 2014] [mpm_winnt:notice] [pid 4328:tid 256] AH00418: Parent: Created child process 5132
[Mon Jan 06 01:54:17.442676 2014] [ssl:warn] [pid 5132:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Mon Jan 06 01:54:18.459734 2014] [ssl:warn] [pid 5132:tid 268] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Mon Jan 06 01:54:18.613743 2014] [mpm_winnt:notice] [pid 5132:tid 268] AH00354: Child: Starting 150 worker threads.
This error might be appearing probably because Apache checks the domain name for the certificate and the key. This is a warning message but you can disable SSL in the httpd.conf file
#Include conf/extra/httpd-ssl.conf
Comment out the line using # like shown above.

XAMPP gives me a blank page?

I've been using XAMPP ever since, I get this problem. Whenever I go to my page "127.0.0.1/advancedtempl" It doesn't give me an error, Just a blank soulless page, I'm not sure what's going on, I've tried putting index.php and trying other pages but no avail. What do I do?
EDIT:
This is my error logs:
[Thu Aug 15 22:25:23.186600 2013] [mpm_winnt:notice] [pid 7224:tid 344] AH00430: Parent: Child process 2036 exited successfully.
[Thu Aug 15 22:25:37.607600 2013] [ssl:warn] [pid 6540:tid 344] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Aug 15 22:25:38.359600 2013] [ssl:warn] [pid 6540:tid 344] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Aug 15 22:25:38.498600 2013] [mpm_winnt:notice] [pid 6540:tid 344] AH00455: Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.16 configured -- resuming normal operations
[Thu Aug 15 22:25:38.498600 2013] [mpm_winnt:notice] [pid 6540:tid 344] AH00456: Server built: Feb 23 2013 13:07:34
[Thu Aug 15 22:25:38.498600 2013] [core:notice] [pid 6540:tid 344] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Aug 15 22:25:38.502600 2013] [mpm_winnt:notice] [pid 6540:tid 344] AH00418: Parent: Created child process 5868
[Thu Aug 15 22:25:39.881600 2013] [ssl:warn] [pid 5868:tid 244] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Aug 15 22:25:40.868600 2013] [ssl:warn] [pid 5868:tid 244] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Aug 15 22:25:41.005600 2013] [mpm_winnt:notice] [pid 5868:tid 244] AH00354: Child: Starting 150 worker threads.

Resources