The socket connection to localhost failed - php

I am using Xampp for developing a web using php and MySQL. I am new in this and when I am starting the admin of my Apache and MySQL it gives me an error i.e.
[Fiddler] The socket connection to localhost failed.
ErrorCode: 10061.
No connection could be made because the target machine actively refused it 127.0.0.1:80
How can I fix this error?
my error log is
[Wed Jun 24 01:02:56.435415 2015] [ssl:warn] [pid 2460:tid 388] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 01:02:56.872940 2015] [ssl:warn] [pid 2460:tid 388] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 01:02:56.966694 2015] [mpm_winnt:notice] [pid 2460:tid 388] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.5.24 configured -- resuming normal operations
[Wed Jun 24 01:02:56.966694 2015] [mpm_winnt:notice] [pid 2460:tid 388] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Wed Jun 24 01:02:56.966694 2015] [core:notice] [pid 2460:tid 388] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Jun 24 01:02:56.997952 2015] [mpm_winnt:notice] [pid 2460:tid 388] AH00418: Parent: Created child process 2816
Apache server shutdown initiated...
sl:warn] [pid 2816:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 01:02:59.326174 2015] [ssl:warn] [pid 2816:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 01:02:59.654315 2015] [mpm_winnt:notice] [pid 2816:tid 396] AH00354: Child: Starting 150 worker threads.
[Wed Jun 24 01:08:02.534498 2015] [ssl:warn] [pid 1396:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 01:08:02.675145 2015] [core:warn] [pid 1396:tid 408] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Jun 24 01:08:02.862638 2015] [ssl:warn] [pid 1396:tid 408] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 01:08:02.940762 2015] [mpm_winnt:notice] [pid 1396:tid 408] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.5.24 configured -- resuming normal operations
[Wed Jun 24 01:08:02.940762 2015] [mpm_winnt:notice] [pid 1396:tid 408] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Wed Jun 24 01:08:02.940762 2015] [core:notice] [pid 1396:tid 408] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Jun 24 01:08:02.987647 2015] [mpm_winnt:notice] [pid 1396:tid 408] AH00418: Parent: Created child process 3988
[Wed Jun 24 01:08:05.237745 2015] [ssl:warn] [pid 3988:tid 412] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 01:08:05.612764 2015] [ssl:warn] [pid 3988:tid 412] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 01:08:05.706523 2015] [mpm_winnt:notice] [pid 3988:tid 412] AH00354: Child: Starting 150 worker threads.
[Wed Jun 24 01:31:46.976420 2015] [mpm_winnt:notice] [pid 2460:tid 388] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Wed Jun 24 01:31:49.007777 2015] [mpm_winnt:notice] [pid 2816:tid 396] AH00364: Child: All worker threads have exited.
[Wed Jun 24 01:31:49.648419 2015] [mpm_winnt:notice] [pid 2460:tid 388] AH00430: Parent: Child process 2816 exited successfully.
[Wed Jun 24 11:40:07.275528 2015] [ssl:warn] [pid 2984:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 11:40:07.619288 2015] [ssl:warn] [pid 2984:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 11:40:09.650651 2015] [mpm_winnt:notice] [pid 2984:tid 396] AH00455: Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.5.24 configured -- resuming normal operations
[Wed Jun 24 11:40:09.650651 2015] [mpm_winnt:notice] [pid 2984:tid 396] AH00456: Apache Lounge VC11 Server built: Jan 28 2015 16:48:40
[Wed Jun 24 11:40:09.650651 2015] [core:notice] [pid 2984:tid 396] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Jun 24 11:40:09.666277 2015] [mpm_winnt:notice] [pid 2984:tid 396] AH00418: Parent: Created child process 1392
[Wed Jun 24 11:40:11.400745 2015] [ssl:warn] [pid 1392:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 11:40:11.682008 2015] [ssl:warn] [pid 1392:tid 396] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 24 11:40:11.807018 2015] [mpm_winnt:notice] [pid 1392:tid 396] AH00354: Child: Starting 150 worker threads.

Related

Apache shut down unexpectly xampp

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,

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.

PHP session_start on xampp

Whenever i put session_start(); to my php code my site won't load anymore. I'm running xampp on windows server 2012. I tested same php code on my local machines xampp and it did work so I guess there is something wrong with my server. When I try to connect to my page I get following errors in apache error.log
[Thu Jan 28 13:20:26.764131 2016] [mpm_winnt:notice] [pid 1296:tid 412] AH00428: Parent: child process 2900 exited with status 255 -- Restarting.
[Thu Jan 28 13:20:28.043237 2016] [ssl:warn] [pid 1296:tid 412] AH01909: 192.168.0.14:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jan 28 13:20:28.323966 2016] [mpm_winnt:notice] [pid 1296:tid 412] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations
[Thu Jan 28 13:20:28.323966 2016] [mpm_winnt:notice] [pid 1296:tid 412] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Thu Jan 28 13:20:28.323966 2016] [core:notice] [pid 1296:tid 412] AH00094: Command line: 'D:\xampp\apache\bin\httpd.exe -d D:/XAMPP/apache'
[Thu Jan 28 13:20:28.323966 2016] [mpm_winnt:notice] [pid 1296:tid 412] AH00418: Parent: Created child process 3292
[Thu Jan 28 13:20:28.838770 2016] [ssl:warn] [pid 3292:tid 324] AH01909: 192.168.0.14:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jan 28 13:20:29.025972 2016] [ssl:warn] [pid 3292:tid 324] AH01909: 192.168.0.14:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jan 28 13:20:29.104269 2016] [mpm_winnt:notice] [pid 3292:tid 324] AH00354: Child: Starting 150 worker threads.
[Thu Jan 28 13:20:29.275575 2016] [mpm_winnt:notice] [pid 1296:tid 412] AH00428: Parent: child process 3292 exited with status 255 -- Restarting.
[Thu Jan 28 13:20:29.712379 2016] [ssl:warn] [pid 1296:tid 412] AH01909: 192.168.0.14:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jan 28 13:20:29.759179 2016] [mpm_winnt:notice] [pid 1296:tid 412] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations
[Thu Jan 28 13:20:29.759179 2016] [mpm_winnt:notice] [pid 1296:tid 412] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Thu Jan 28 13:20:29.759179 2016] [core:notice] [pid 1296:tid 412] AH00094: Command line: 'D:\xampp\apache\bin\httpd.exe -d D:/XAMPP/apache'
[Thu Jan 28 13:20:29.759179 2016] [mpm_winnt:notice] [pid 1296:tid 412] AH00418: Parent: Created child process 2964
[Thu Jan 28 13:20:30.211582 2016] [ssl:warn] [pid 2964:tid 328] AH01909: 192.168.0.14:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jan 28 13:20:30.383184 2016] [ssl:warn] [pid 2964:tid 328] AH01909: 192.168.0.14:443:0 server certificate does NOT include an ID which matches the server name
[Thu Jan 28 13:20:30.414387 2016] [mpm_winnt:notice] [pid 2964:tid 328] AH00354: Child: Starting 150 worker threads.

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.

Laravel 4: #include causes Apache (httpd.exe) to crash (on Windows)

As the title says, there's a certain #include() that causes Apache to crash when it's executed.
This is the incriminated code, located in profile.php:
<hr>
#include('sections/userInformations', array('userOwner' => $profileUser, 'userVisitor' => $user))
<hr>
The $profileUser and $user come from the PagesController.php:
public function getProfile($username) {
return View::make('profile', array(
'privacy' => Privacy::where('user', '=', $username)->first(),
'profileUser' => User::where('username', '=', $username)->first(),
'user' => Auth::user()
));
}
Apache error.log:
[Thu Apr 17 18:17:30.840838 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00428: Parent: child process 1716 exited with status 3221225725 -- Restarting.
[Thu Apr 17 18:17:31.146862 2014] [ssl:warn] [pid 2536:tid 324] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:31.183859 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9 configured -- resuming normal operations
[Thu Apr 17 18:17:31.184859 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Thu Apr 17 18:17:31.184859 2014] [core:notice] [pid 2536:tid 324] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Apr 17 18:17:31.185859 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00418: Parent: Created child process 2904
[Thu Apr 17 18:17:31.627883 2014] [ssl:warn] [pid 2904:tid 396] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:31.781898 2014] [ssl:warn] [pid 2904:tid 396] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:31.819900 2014] [mpm_winnt:notice] [pid 2904:tid 396] AH00354: Child: Starting 150 worker threads.
[Thu Apr 17 18:17:33.170971 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00428: Parent: child process 2904 exited with status 3221225725 -- Restarting.
[Thu Apr 17 18:17:33.482989 2014] [ssl:warn] [pid 2536:tid 324] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:33.520991 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00455: Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9 configured -- resuming normal operations
[Thu Apr 17 18:17:33.520991 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Thu Apr 17 18:17:33.520991 2014] [core:notice] [pid 2536:tid 324] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Apr 17 18:17:33.522991 2014] [mpm_winnt:notice] [pid 2536:tid 324] AH00418: Parent: Created child process 2064
[Thu Apr 17 18:17:33.966015 2014] [ssl:warn] [pid 2064:tid 392] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:34.120025 2014] [ssl:warn] [pid 2064:tid 392] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Thu Apr 17 18:17:34.159026 2014] [mpm_winnt:notice] [pid 2064:tid 392] AH00354: Child: Starting 150 worker threads.
PHP_ERROR_LOG is empty.
Actually there are 2 consequent crashes...
Give the following a go:
http://blog.codexpedia.com/apache-server/parent-child-process-exited-with-status-3221225725-restarting-on-xamp-apache/
httpd.conf:
<IfModule mpm_winnt_module>
ThreadStackSize 8888888
</IfModule>
Your actual error is [mpm_winnt:notice] [pid 2536:tid 324] AH00428: Parent: child process 2904 exited with status 3221225725 -- Restarting..
Try searching for exited with status 3221225725...
This seems to be a problem on windows,
Try adding the following at the end of apache config file: httpd.conf
<IfModule mpm_winnt_module>
ThreadStackSize 8388608
</IfModule>
then restart apache.

Categories