xamp error apache dont want start no matter what - php

[ssl:warn] [pid 6880:tid 288] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Nov 17 22:05:26.009909 2017] [ssl:warn] [pid 6880:tid 288] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Nov 17 22:05:26.033911 2017] [mpm_winnt:notice] [pid 6880:tid 288] AH00455: Apache/2.4.29 (Win32) OpenSSL/1.0.2l PHP/7.1.11 configured -- resuming normal operations
[Fri Nov 17 22:05:26.033911 2017] [mpm_winnt:notice] [pid 6880:tid 288] AH00456: Apache Lounge VC14 Server built: Oct 22 2017 11:52:30
[Fri Nov 17 22:05:26.033911 2017] [core:notice] [pid 6880:tid 288] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Nov 17 22:05:26.034911 2017] [mpm_winnt:notice] [pid 6880:tid 288] AH00418: Parent: Created child process 544
[Fri Nov 17 22:05:26.046911 2017] [:crit] [pid 544] (-2146173818)Unknown error: AH00141: Could not initialize random number generator
[Fri Nov 17 22:05:26.048911 2017] [mpm_winnt:crit] [pid 6880:tid 288] AH00419: master_main: create child process failed. Exiting.
I tried skype not working kill process skype also
I changed port to like 10 different ports not working
I don't have IIS
I tried to run the batch file via cmd
I did try reinstall clean install nothing change
Whatever I do I am getting same error.

I FIXED , i reinstall xampp so many times that I had like x6 allowed apache and mysql in the windows firewall. I removed them all did a clean install and now all works like charm !

Related

XAMPP: Error Apache shutdown unexpectedly

I have trouble when connecting the Apache server with XAMPP, it gives me the error status below
Error: Apache shutdown unexpectedly
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
Here is the error logs given below
[Tue Apr 20 12:18:09.595619 2021] [ssl:warn] [pid 15252:tid 512] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Apr 20 12:18:09.651263 2021] [ssl:warn] [pid 15252:tid 512] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Apr 20 12:18:10.196918 2021] [mpm_winnt:notice] [pid 15252:tid 512] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.0.3 configured -- resuming normal operations
[Tue Apr 20 12:18:10.196918 2021] [mpm_winnt:notice] [pid 15252:tid 512] AH00456: Apache Lounge VS16 Server built: Feb 17 2021 13:11:14
[Tue Apr 20 12:18:10.196918 2021] [core:notice] [pid 15252:tid 512] AH00094: Command line: 'd:\\system and apps\\xampp\\apache\\bin\\httpd.exe -d D:/System and Apps/XAMPP/apache'
[Tue Apr 20 12:18:10.199767 2021] [mpm_winnt:notice] [pid 15252:tid 512] AH00418: Parent: Created child process 6092
[Tue Apr 20 12:18:10.531312 2021] [ssl:warn] [pid 6092:tid 564] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Apr 20 12:18:10.586416 2021] [ssl:warn] [pid 6092:tid 564] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Apr 20 12:18:10.605417 2021] [mpm_winnt:notice] [pid 6092:tid 564] AH00354: Child: Starting 150 worker threads.
So, what I need to do to fix the problem?
If you’re using a Windows device, you can follow these four steps to update your default port settings in XAMPP.
I hope this will Help YOU

ERR_CONNECTION_RESET error on local machine running xampp with php7

I recently updated my xampp installation to current version with php7, however every thing seem to work fine until i tried testing out a laravel 5.2 project.
Accessing a page that doesn't make a database connection has no issue, but trying accessing a route that makes a db query i get the error "ERR_CONNECTION_RESET".
The error log doesn't really show any concrete errors that cause this.
[Fri Apr 22 20:50:41.365814 2016] [ssl:warn] [pid 2856:tid 436] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 22 20:50:41.422857 2016] [mpm_winnt:notice] [pid 2856:tid 436] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.5 configured -- resuming normal operations
[Fri Apr 22 20:50:41.422857 2016] [mpm_winnt:notice] [pid 2856:tid 436] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Fri Apr 22 20:50:41.422857 2016] [core:notice] [pid 2856:tid 436] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Apr 22 20:50:41.427857 2016] [mpm_winnt:notice] [pid 2856:tid 436] AH00418: Parent: Created child process 7024
I have gone through php.ini configuration several times. What could cause this problem?

Xmapp + Apache is returning Object not found whenever try to access any page inside htdocs

yesterday that I was working in a php project using xampp, everything was working fine, until I tried previewing a page that I newly modified, then I started getting the following error.
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Now I don't know why this error suddenly started appearing or what changed, I have even uninstalled the xampp I was using and installed a more recent and updated one yet to no avail, as the error is still occurring. Here is the current output of my apache error file.
[Mon Feb 08 09:37:40.734383 2016] [ssl:warn] [pid 264:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 08 09:37:41.169408 2016] [ssl:warn] [pid 264:tid 264] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 08 09:37:41.376420 2016] [mpm_winnt:notice] [pid 264:tid 264] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.2 configured -- resuming normal operations
[Mon Feb 08 09:37:41.377420 2016] [mpm_winnt:notice] [pid 264:tid 264] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Mon Feb 08 09:37:41.377420 2016] [core:notice] [pid 264:tid 264] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Feb 08 09:37:41.381420 2016] [mpm_winnt:notice] [pid 264:tid 264] AH00418: Parent: Created child process 6236
[Mon Feb 08 09:37:44.429594 2016] [ssl:warn] [pid 6236:tid 276] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 08 09:37:44.900621 2016] [ssl:warn] [pid 6236:tid 276] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 08 09:37:45.071631 2016] [mpm_winnt:notice] [pid 6236:tid 276] AH00354: Child: Starting 150 worker threads.
I have nothing in my php_error_file, any help will be seriously appreciated as I want to upload the site today.
Note: I am working on Phpstrom v9 in Windows 7. Thanks for the help.

What may cause an ERR_CONNECTION_RESET error, on xampp while using session

I have problem with xampp (Windows) where I have session_start(); in my file but it like drops that request...
When I try to access page with localhost/folder/index.php it works but when i try
external ip/folder/index.php or 127.0.0.1/folder/index.php or [::1]/folder/index.php it just drops connection (tried multiple browsers and chrome gives ERR_CONNECTION_RESET... I am clueless and I desperately need help...
It worked when I removed session_start(); from my file...
When I make new file with session_start(); it still doesn't work...
Some error.log lines
[Sun Jan 10 19:33:45.805036 2016] [:error] [pid 3176:tid 1888] [client myip:50143] script 'C:/xampp/htdocs/h3x1t/i\xc2\xb4\xc2\xb4.php' not found or unable to stat
[Sun Jan 10 20:02:40.330149 2016] [ssl:warn] [pid 24588:tid 552] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 20:02:40.373728 2016] [mpm_winnt:notice] [pid 24588:tid 552] AH00354: Child: Starting 150 worker threads.
[Sun Jan 10 20:04:25.949925 2016] [mpm_winnt:notice] [pid 29460:tid 564] AH00428: Parent: child process 24588 exited with status 3221225477 -- Restarting.
[Sun Jan 10 20:04:26.568746 2016] [ssl:warn] [pid 29460:tid 564] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 20:04:26.615700 2016] [mpm_winnt:notice] [pid 29460:tid 564] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations
[Sun Jan 10 20:04:26.615700 2016] [mpm_winnt:notice] [pid 29460:tid 564] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Sun Jan 10 20:04:26.615700 2016] [core:notice] [pid 29460:tid 564] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Jan 10 20:04:26.622190 2016] [mpm_winnt:notice] [pid 29460:tid 564] AH00418: Parent: Created child process 26200
[Sun Jan 10 20:04:27.302705 2016] [ssl:warn] [pid 26200:tid 560] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 20:04:27.475560 2016] [ssl:warn] [pid 26200:tid 560] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 20:04:27.518770 2016] [mpm_winnt:notice] [pid 26200:tid 560] AH00354: Child: Starting 150 worker threads.
[Sun Jan 10 20:04:28.693791 2016] [mpm_winnt:notice] [pid 29460:tid 564] AH00428: Parent: child process 26200 exited with status 3221225477 -- Restarting.
[Sun Jan 10 20:04:29.379751 2016] [ssl:warn] [pid 29460:tid 564] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 20:04:29.425188 2016] [mpm_winnt:notice] [pid 29460:tid 564] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations
[Sun Jan 10 20:04:29.425188 2016] [mpm_winnt:notice] [pid 29460:tid 564] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Sun Jan 10 20:04:29.425188 2016] [core:notice] [pid 29460:tid 564] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Jan 10 20:04:29.430191 2016] [mpm_winnt:notice] [pid 29460:tid 564] AH00418: Parent: Created child process 30668
[Sun Jan 10 20:04:30.081357 2016] [ssl:warn] [pid 30668:tid 608] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 20:04:30.254197 2016] [ssl:warn] [pid 30668:tid 608] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 20:04:30.297173 2016] [mpm_winnt:notice] [pid 30668:tid 608] AH00354: Child: Starting 150 worker threads.
[Sun Jan 10 20:06:24.444492 2016] [:error] [pid 30668:tid 1896] [client ::1:60405] script 'C:/xampp/htdocs/h3x1t/contracts.php' not found or unable to stat, referer: http://localhost/h3x1t/index
I have XAMPP with PHP7 and the same problem...
I've changed in php.ini:
session.use_only_cookies from 0 to 1 and all works.
I reinstalled xampp with older PHP Version...
Looks like culprit was PHP 7.0.0
EDIT: Found something probably linked to it
https://community.apachefriends.org/viewtopic.php?p=248070&sid=0b7559defe15317f41699d1ce9194e3f
EDIT2: Found this (bitnami developers)
we have been checking the configuration of XAMPP and we found that the
issue is related to the use_only_cookies variable that you can find in
the Session's section of the php.ini file. Apache will crash if the
use_only_cookies variable in the Session's section is set to 0 and
everything is fine if it's set to 1.
http://php.net/manual/en/session.configuration.php#ini.session.use-only-cookies
We also checked that the use_strict_mode should be set to 1.
https://wiki.php.net/rfc/strict_sessions
http://php.net/manual/en/session.configuration.php#ini.session.use-strict-mode
We'll include those changes in the next version of XAMPP with PHP 7.
We are building the installers with the version 7.0.2 and we'll
release them as soon as possible.
In my case, Windows Event Viewer showed more useful data. It pointed to VCRUNTIME140.dll constantly crashing Apache (which caused the console to show ERR_CONNECTION_RESET), so I updated libraries to https://www.microsoft.com/en-us/download/confirmation.aspx?id=52685 - then, it showed faulting module as php7ts.dll - so I've followed instructions from http://ibraransari.blogspot.com/2017/01/how-to-solve-apache-crash-fault-module.html and I was good to go.
If things still dont work when you applied the above two answers,Clear out the cache this should solve the problem.

Laravel 5 and XAMPP

I have been developing an application using Laravel 5 with XAMPP without any problem for the past 2 weeks. All of a sudden I have encountered a problem. Apache restarts itself whenever I try to open the Application. I have an application using Laravel 4.2 and it is running seamlessly. So does other applications with no framework.
here is my apache_error log
[Mon Apr 13 11:17:55.124340 2015] [ssl:warn] [pid 244:tid 232] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 13 11:17:56.553187 2015] [ssl:warn] [pid 244:tid 232] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 13 11:17:56.990707 2015] [mpm_winnt:notice] [pid 244:tid 232] AH00354: Child: Starting 150 worker threads.
[Mon Apr 13 11:19:24.202850 2015] [mpm_winnt:notice] [pid 2660:tid 260] AH00428: Parent: child process 244 exited with status 3221225725 -- Restarting.
[Mon Apr 13 11:19:26.188766 2015] [ssl:warn] [pid 2660:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Apr 13 11:19:26.427117 2015] [mpm_winnt:notice] [pid 2660:tid 260] AH00455: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.6.3 configured -- resuming normal operations
[Mon Apr 13 11:19:26.427117 2015] [mpm_winnt:notice] [pid 2660:tid 260] AH00456: Apache Lounge VC11 Server built: Jul 17 2014 11:50:08
[Mon Apr 13 11:19:26.428120 2015] [core:notice] [pid 2660:tid 260] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Mon Apr 13 11:19:26.812682 2015] [mpm_winnt:notice] [pid 2660:tid 260] AH00418: Parent: Created child process 6196
How do I troubleshoot this?
Note: this thread and this didn't solve my problem.

Categories