Apache shut down unexpectly xampp - php

I downloaded php 7.4 to replace with php7.3.
I move php 7.4 to xampp folder and rename old php folder with different name.
after that restart apache.
[Fri Feb 11 12:46:33.751685 2022] [mpm_winnt:notice] [pid 7948:tid 580] AH00418: Parent: Created child process 4032
[Fri Feb 11 12:46:34.268497 2022] [ssl:warn] [pid 4032:tid 580] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Feb 11 12:46:34.346148 2022] [ssl:warn] [pid 4032:tid 580] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Feb 11 12:46:34.377653 2022] [mpm_winnt:notice] [pid 4032:tid 580] AH00354: Child: Starting 150 worker threads.
[Fri Feb 11 13:12:35.902924 2022] [php7:error] [pid 4032:tid 1844] [client ::1:53129] PHP Fatal error: Maximum execution time of 300 seconds exceeded in C:\\xampp\\phpMyAdmin\\libraries\\classes\\Dbal\\DbiMysqli.php on line 246
[Fri Feb 11 15:34:38.829295 2022] [ssl:warn] [pid 11328:tid 568] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Feb 11 15:34:39.230678 2022] [core:warn] [pid 11328:tid 568] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Feb 11 15:34:39.236676 2022] [ssl:warn] [pid 11328:tid 568] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Feb 11 15:34:39.306825 2022] [mpm_winnt:notice] [pid 11328:tid 568] AH00455: Apache/2.4.51 (Win64) OpenSSL/1.1.1l PHP/7.3.31 configured -- resuming normal operations
[Fri Feb 11 15:34:39.307821 2022] [mpm_winnt:notice] [pid 11328:tid 568] AH00456: Apache Lounge VC15 Server built: Oct 8 2021 10:03:59
[Fri Feb 11 15:34:39.307821 2022] [core:notice] [pid 11328:tid 568] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri Feb 11 15:34:39.312818 2022] [mpm_winnt:notice] [pid 11328:tid 568] AH00418: Parent: Created child process 8416
[Fri Feb 11 15:34:39.927399 2022] [ssl:warn] [pid 8416:tid 660] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Feb 11 15:34:40.270899 2022] [ssl:warn] [pid 8416:tid 660] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Feb 11 15:34:40.302876 2022] [mpm_winnt:notice] [pid 8416:tid 660] AH00354: Child: Starting 150 worker threads.
Apache cannot run.
what wrong ?
How can fix

I try help you.
Go in xampp control panel and go in apache->config-> apache(httpd-xampp.conf)
You need change path of "LoadFile" and "LoadModule" to new version of php and new directory. This is an example
LoadFile"D:/xampp/php/php7ts.dll"
LoadFile"D:/xampp/php/libpq.dll"
LoadModule php7_module"D:/xampp/php/php7apache2_4.dll"
I hope I was helpful.
Best regards,

Related

Unable to Upgrade PHP 7.1 to PHP 7.2 in Windows

I am unable to upgrade from PHP 7.1 to PHP 7.2.
I download this below.
https://windows.php.net/download#php-7.2-ts-VC15-x64
I rename my old PHP folder into php-older and make a new folder of PHP in XAMPP directory. I pasted the downloaded zip & extract it there. Whenever I re run Apache I found the error below.
phpMyAdmin - Error The mysqli extension is missing. Please check your
PHP configuration. See our documentation for more information.
[Wed Jun 03 17:42:39.321532 2020] [ssl:warn] [pid 9952:tid 536] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 03 17:42:39.476157 2020] [core:warn] [pid 9952:tid 536] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Jun 03 17:42:39.595071 2020] [ssl:warn] [pid 9952:tid 536] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 03 17:42:39.601067 2020] [mpm_winnt:notice] [pid 9952:tid 536] AH00455: Apache/2.4.39 (Win64) OpenSSL/1.0.2r PHP/7.2.31 configured -- resuming normal operations
[Wed Jun 03 17:42:39.601067 2020] [mpm_winnt:notice] [pid 9952:tid 536] AH00456: Apache Lounge VC14 Server built: Mar 31 2019 13:05:21
[Wed Jun 03 17:42:39.601067 2020] [core:notice] [pid 9952:tid 536] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Jun 03 17:42:39.605066 2020] [mpm_winnt:notice] [pid 9952:tid 536] AH00418: Parent: Created child process 16256
[Wed Jun 03 17:42:40.757201 2020] [ssl:warn] [pid 16256:tid 516] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 03 17:42:41.038429 2020] [ssl:warn] [pid 16256:tid 516] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 03 17:42:41.054057 2020] [mpm_winnt:notice] [pid 16256:tid 516] AH00354: Child: Starting 150 worker threads.

cli has stopped working for php 7.1.9 xampp in windows 7

I have upgraded PHP version from 5.5 to 7.1.9 by re-installing XAMPP.In my project I am working on laravel queue with Redis server.
But, When I am trying to run queue work command by php artisan queue:work --queue=high for a job its show me a windows popup and nothing happening and terminal get stuck until I close that popup
I am not getting what is the issue.
I had done some research on this but my issue is not fixed with these solutions.
Ex:-
PHP inbuilt server gives "CLI has stopped working"
PHP -> CLI has stopped working
Any body have any solution please share with me.
Error log in Apache:-
[Tue Sep 26 15:39:51.928457 2017] [ssl:warn] [pid 5244:tid 152] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 26 15:39:52.346464 2017] [ssl:warn] [pid 5244:tid 152] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 26 15:39:53.156465 2017] [mpm_winnt:notice] [pid 5244:tid 152] AH00455: Apache/2.4.27 (Win32) OpenSSL/1.0.2l PHP/7.1.9 configured -- resuming normal operations
[Tue Sep 26 15:39:53.156465 2017] [mpm_winnt:notice] [pid 5244:tid 152] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Tue Sep 26 15:39:53.156465 2017] [core:notice] [pid 5244:tid 152] AH00094: Command line: 'D:\\xampp\\apache\\bin\\httpd.exe -d D:/xampp/apache'
[Tue Sep 26 15:39:53.166465 2017] [mpm_winnt:notice] [pid 5244:tid 152] AH00418: Parent: Created child process 6460
[Tue Sep 26 15:39:53.892473 2017] [ssl:warn] [pid 6460:tid 168] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 26 15:39:54.062473 2017] [ssl:warn] [pid 6460:tid 168] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 26 15:39:54.472474 2017] [mpm_winnt:notice] [pid 6460:tid 168] AH00354: Child: Starting 150 worker threads.
[Tue Sep 26 15:41:08.102212 2017] [ssl:warn] [pid 6832:tid 152] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 26 15:41:08.392213 2017] [ssl:warn] [pid 6832:tid 152] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 26 15:41:08.422213 2017] [mpm_winnt:notice] [pid 6832:tid 152] AH00455: Apache/2.4.27 (Win32) OpenSSL/1.0.2l PHP/7.1.9 configured -- resuming normal operations
[Tue Sep 26 15:41:08.422213 2017] [mpm_winnt:notice] [pid 6832:tid 152] AH00456: Apache Lounge VC14 Server built: Jul 9 2017 11:48:22
[Tue Sep 26 15:41:08.422213 2017] [core:notice] [pid 6832:tid 152] AH00094: Command line: 'd:\\xampp\\apache\\bin\\httpd.exe -d D:/xampp/apache'
[Tue Sep 26 15:41:08.422213 2017] [mpm_winnt:notice] [pid 6832:tid 152] AH00418: Parent: Created child process 7068
[Tue Sep 26 15:41:08.962214 2017] [ssl:warn] [pid 7068:tid 168] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 26 15:41:09.132214 2017] [ssl:warn] [pid 7068:tid 168] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 26 15:41:09.162214 2017] [mpm_winnt:notice] [pid 7068:tid 168] AH00354: Child: Starting 150 worker threads.

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.

XAMPP - Object not found! on any files/directories

Having a problem trying to install XAMPP on my Windows 7 machine. Essentially when I start apache and mysql the xampp index page (localhost) works fine. In my local file directory I have tried this:
In:
C:\xampp\htdocs
I've created a file called 'test.php' then in the Web Browser I have tried localhost/test.php
and I get the 'Object not found!' error.
I have tried creating a directory called:
C:\xampp\htdocs\oop
then added a index file:
C:\xampp\htdocs\oop\index.php
and in the Web Browser tried 'localhost/oop' and 'localhost/oop/index.php' but am receiving the same error.
My error log is:
[Sat Apr 19 22:09:09.742135 2014] [ssl:warn] [pid 3508:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 19 22:09:10.248164 2014] [ssl:warn] [pid 3508:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 19 22:09:10.346169 2014] [mpm_winnt:notice] [pid 3508:tid 260] AH00455: Apache/2.4.9 (Win32) OpenSSL/0.9.8y PHP/5.4.27 configured -- resuming normal operations
[Sat Apr 19 22:09:10.346169 2014] [mpm_winnt:notice] [pid 3508:tid 260] AH00456: Apache Lounge VC10 Server built: Mar 17 2014 11:15:11
[Sat Apr 19 22:09:10.346169 2014] [core:notice] [pid 3508:tid 260] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Apr 19 22:09:10.365170 2014] [mpm_winnt:notice] [pid 3508:tid 260] AH00418: Parent: Created child process 2692
[Sat Apr 19 22:09:11.325225 2014] [ssl:warn] [pid 2692:tid 272] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 19 22:09:11.687246 2014] [ssl:warn] [pid 2692:tid 272] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 19 22:09:11.734249 2014] [mpm_winnt:notice] [pid 2692:tid 272] AH00354: Child: Starting 150 worker threads.
[Sat Apr 19 22:14:57.151005 2014] [ssl:warn] [pid 5348:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 19 22:14:57.207008 2014] [core:warn] [pid 5348:tid 260] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Apr 19 22:14:57.461023 2014] [ssl:warn] [pid 5348:tid 260] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 19 22:14:57.514026 2014] [mpm_winnt:notice] [pid 5348:tid 260] AH00455: Apache/2.4.9 (Win32) OpenSSL/0.9.8y PHP/5.4.27 configured -- resuming normal operations
[Sat Apr 19 22:14:57.514026 2014] [mpm_winnt:notice] [pid 5348:tid 260] AH00456: Apache Lounge VC10 Server built: Mar 17 2014 11:15:11
[Sat Apr 19 22:14:57.514026 2014] [core:notice] [pid 5348:tid 260] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sat Apr 19 22:14:57.517026 2014] [mpm_winnt:notice] [pid 5348:tid 260] AH00418: Parent: Created child process 2356
[Sat Apr 19 22:14:58.340073 2014] [ssl:warn] [pid 2356:tid 272] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 19 22:14:58.659092 2014] [ssl:warn] [pid 2356:tid 272] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sat Apr 19 22:14:58.717095 2014] [mpm_winnt:notice] [pid 2356:tid 272] AH00354: Child: Starting 150 worker threads.
Other things which I've tried:
In the httpd.conf file I have changed the 'Listen 80' to 'Listen 1337' (Skype is also turned off) but it doesn't resolve anything.
I have also looked at the Documentroot and it seems fine:
DocumentRoot "C:/xampp/htdocs"
<Directory "C:/xampp/htdocs">
I've tried:
DocumentRoot "C:\xampp\htdocs"
<Directory "C:\xampp\htdocs">
But the same problem.
I'm new to using XAMPP and configuring it so any help is much appreciated.
Thanks.
Try to put that test.php file in a folder (eg.demo) inside htdocs and then try to browse
http://localhost/demo/test.php
hope this would help you.
Look into your /etc/httpd.conf file and check if you have Virtual hosts activated.
I you have it activated, check your etc/extra/httpd-vhosts.conf file. You might have set up a VirtualHost already.

Categories