I have installed WAMP 3, the x64 bits version that comes with both PHP 7 and PHP 5.6.16.
Thing is, it only works with version 7, but not with version 5.6.16.
If I'm on version 7 I can open localhost just fine, if I switch to version 5.6, it says "This site can’t be reached".
Apache error log:
[Fri Jul 08 18:59:42.721292 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00428: Parent: child process 8788 exited with status 255 -- Restarting.
[Fri Jul 08 18:59:42.859839 2016] [auth_digest:notice] [pid 8776:tid 652] AH01757: generating secret for digest authentication ...
[Fri Jul 08 18:59:42.936418 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00455: Apache/2.4.17 (Win64) PHP/5.6.16 configured -- resuming normal operations
[Fri Jul 08 18:59:42.936418 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00456: Apache Lounge VC14 Server built: Oct 11 2015 11:49:07
[Fri Jul 08 18:59:42.936418 2016] [core:notice] [pid 8776:tid 652] AH00094: Command line: 'C:\\wamp64\\bin\\apache\\apache2.4.17\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.17'
[Fri Jul 08 18:59:43.007482 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00418: Parent: Created child process 5336
[Fri Jul 08 18:59:43.647394 2016] [auth_digest:notice] [pid 5336:tid 420] AH01757: generating secret for digest authentication ...
[Fri Jul 08 18:59:43.728167 2016] [mpm_winnt:notice] [pid 5336:tid 420] AH00354: Child: Starting 64 worker threads.
[Fri Jul 08 18:59:45.162617 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00428: Parent: child process 5336 exited with status 255 -- Restarting.
[Fri Jul 08 18:59:45.368338 2016] [auth_digest:notice] [pid 8776:tid 652] AH01757: generating secret for digest authentication ...
[Fri Jul 08 18:59:45.436406 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00455: Apache/2.4.17 (Win64) PHP/5.6.16 configured -- resuming normal operations
[Fri Jul 08 18:59:45.436406 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00456: Apache Lounge VC14 Server built: Oct 11 2015 11:49:07
[Fri Jul 08 18:59:45.436406 2016] [core:notice] [pid 8776:tid 652] AH00094: Command line: 'C:\\wamp64\\bin\\apache\\apache2.4.17\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.17'
[Fri Jul 08 18:59:45.534501 2016] [mpm_winnt:notice] [pid 8776:tid 652] AH00418: Parent: Created child process 7404
[Fri Jul 08 18:59:46.217823 2016] [auth_digest:notice] [pid 7404:tid 156] AH01757: generating secret for digest authentication ...
[Fri Jul 08 18:59:46.276887 2016] [mpm_winnt:notice] [pid 7404:tid 156] AH00354: Child: Starting 64 worker threads.
What could be the reason?
First:
Check the apache logs, or run httpd.exe manually and see error response.
Related
I am trying to setup a SoapClient in my PHP but it keeps crashing Apache
Here is my PHP:
try{
$o_soap = #new \SoapClient(
"local/path/to/my/wsdl.xml",
array(
'exceptions' => true
)
);
var_dump($o_soap->__getFunctions());
}
catch(SoapFault $e){
die($e->faultstring);
}
Here is the Apache Log:
[Wed Mar 15 11:26:57.422962 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00428: Parent: child process 8780 exited with status 3221225477 -- Restarting.
[Wed Mar 15 11:26:58.030023 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00455: Apache/2.4.12 (Win32) configured -- resuming normal operations
[Wed Mar 15 11:26:58.030023 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00456: Apache Lounge VC11 Server built: Mar 20 2015 12:12:41
[Wed Mar 15 11:26:58.030023 2017] [core:notice] [pid 7516:tid 516] AH00094: Command line: 'httpd.exe -d C:/WEB/Apache24_32bit'
[Wed Mar 15 11:26:58.035024 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00418: Parent: Created child process 9432
[Wed Mar 15 11:27:00.031223 2017] [mpm_winnt:notice] [pid 9432:tid 532] AH00354: Child: Starting 150 worker threads.
[Wed Mar 15 11:27:02.336454 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00428: Parent: child process 9432 exited with status 3221225477 -- Restarting.
[Wed Mar 15 11:27:03.045678 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00455: Apache/2.4.12 (Win32) configured -- resuming normal operations
[Wed Mar 15 11:27:03.045678 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00456: Apache Lounge VC11 Server built: Mar 20 2015 12:12:41
[Wed Mar 15 11:27:03.045678 2017] [core:notice] [pid 7516:tid 516] AH00094: Command line: 'httpd.exe -d C:/WEB/Apache24_32bit'
[Wed Mar 15 11:27:03.061278 2017] [mpm_winnt:notice] [pid 7516:tid 516] AH00418: Parent: Created child process 9784
[Wed Mar 15 11:27:05.030913 2017] [mpm_winnt:notice] [pid 9784:tid 528] AH00354: Child: Starting 150 worker threads.
WSDL has been checked on https://www.wsdl-analyzer.com and returned no errors.
Update
Looks like it comes from the WSDL... I tried another (smaller) one and got the expected result...
Update 2
Solved using nusoap library
I need help.
I can not solve this problem.
My configs:
Intel Core I5 - 3,2 GHz
8 GB RAM
Windows 7 Enterprise x64 SP1
Versions:
httpd-2.4.23-win32-VC11
php-5.6.24-Win32-VC11-x86
instantclient-basic-win32-11.2.0.1.0
php_oci8-2.0.8-5.6-ts-vc11-x86.zip
What happens is that, I start the service without any error.
But when I open a page that contains PHP, the Apache resets (AH00428: Parent: child process 4608 exited with status 3958377386 -- Restarting.).
Windows returns me the error message: "Apache HTTPD Server stopped working."
Follow the apache error.log:
[Tue Aug 16 09:35:22.320400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00455: Apache/2.4.23 (Win32) configured -- resuming normal operations
[Tue Aug 16 09:35:22.320400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00456: Apache Lounge VC11 Server built: Jul 7 2016 11:13:22
[Tue Aug 16 09:35:22.320400 2016] [core:notice] [pid 4864:tid 616] AH00094: Command line: 'httpd.exe -d C:/Apache24'
[Tue Aug 16 09:35:22.336400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00418: Parent: Created child process 4608
[Tue Aug 16 09:35:22.914400 2016] [mpm_winnt:notice] [pid 4608:tid 632] AH00354: Child: Starting 64 worker threads.
[Tue Aug 16 09:35:50.895400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00428: Parent: child process 4608 exited with status 3958377386 -- Restarting.
[Tue Aug 16 09:35:51.035400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00455: Apache/2.4.23 (Win32) configured -- resuming normal operations
[Tue Aug 16 09:35:51.035400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00456: Apache Lounge VC11 Server built: Jul 7 2016 11:13:22
[Tue Aug 16 09:35:51.035400 2016] [core:notice] [pid 4864:tid 616] AH00094: Command line: 'httpd.exe -d C:/Apache24'
[Tue Aug 16 09:35:51.051400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00418: Parent: Created child process 5172
[Tue Aug 16 09:35:51.661400 2016] [mpm_winnt:notice] [pid 5172:tid 632] AH00354: Child: Starting 64 worker threads.
[Tue Aug 16 09:35:52.388400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00428: Parent: child process 5172 exited with status 3958377386 -- Restarting.
[Tue Aug 16 09:35:52.491400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00455: Apache/2.4.23 (Win32) configured -- resuming normal operations
[Tue Aug 16 09:35:52.491400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00456: Apache Lounge VC11 Server built: Jul 7 2016 11:13:22
[Tue Aug 16 09:35:52.491400 2016] [core:notice] [pid 4864:tid 616] AH00094: Command line: 'httpd.exe -d C:/Apache24'
[Tue Aug 16 09:35:52.506400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00418: Parent: Created child process 1120
[Tue Aug 16 09:35:53.062400 2016] [mpm_winnt:notice] [pid 1120:tid 628] AH00354: Child: Starting 64 worker threads.
Apache server interrupted...
[Tue Aug 16 09:36:22.150400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Aug 16 09:36:24.151400 2016] [mpm_winnt:notice] [pid 1120:tid 628] AH00364: Child: All worker threads have exited.
[Tue Aug 16 09:36:24.214400 2016] [mpm_winnt:notice] [pid 4864:tid 616] AH00430: Parent: Child process 1120 exited successfully.
access.log is empty.
I can not fix this.
Any tips?
Thanks.
Edit
I looked at windows event log and found this:
Application Error
EventRecordID 72126
Channel Application
EventData:
httpd.exe
2.4.23.0
577e1b96
KERNELBASE.dll
6.1.7601.18229
51fb1116
ebf00baa
0000c41f
e2c
01d1f7de4709ca89
C:\Apache24\bin\httpd.exe
C:\WINDOWS\syswow64\KERNELBASE.dll
9238afff-63d1-11e6-bca1-641c67645206
I managed to solve the problem.
I disable all PHP extensions and looked at the windows event log.
Was giving error as follows:
Application name: httpd.exe, version: 2.4.23.0
Module: php5apache2_4.dll, versão: 0.0.0.0
Exception Code: 0xc0000005
Application path failed: C:\Apache24\bin\httpd.exe
Fault module path: C:\PHP\php5apache2_4.dll
Report Identification: cae5d4a7-6486-11e6-bca1-641c67645206
I deleted the PHP folder, wiped the register, downloaded again, and enabled the extensions needed.
And now is functioning normally.
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.
Issue
When sending a request to a PHP script I am receiving net::ERR_CONNECTION_RESET if the content is a moderate size. This script works fine on all of my smaller files, but blows up with that error on my larger files.
PHP Script
<?php
include('Parsedown.php');
function update($url){
set_time_limit(0);
$prefix="/doc/";
$Parsedown = new Parsedown();
$body = file_get_contents(str_replace($prefix, "", $url, $count));
$content = $Parsedown->text($body);
echo $content;
}
if (isset($_REQUEST['action'])) {
switch ($_REQUEST['action']) {
case 'update':
$path = $_REQUEST['path'];
update($path);
break;
}
}
?>
I am using WAMP on my local machine and I have no errors inside of my PHP error log.
Apache Logs
D:/DevelopmentPrograms/wamp/bin/apache/apache2.4.9'
[Mon Jul 27 22:04:44.492523 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00418: Parent: Created child process 1100
[Mon Jul 27 22:04:45.098933 2015] [mpm_winnt:notice] [pid 1100:tid 312] AH00354: Child: Starting 64 worker threads.
[Mon Jul 27 22:04:49.007005 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00428: Parent: child process 1100 exited with status 255 -- Restarting.
[Mon Jul 27 22:04:49.162014 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Mon Jul 27 22:04:49.162014 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Mon Jul 27 22:04:49.162014 2015] [core:notice] [pid 8060:tid 388] AH00094: Command line: 'D:\\DevelopmentPrograms\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d D:/DevelopmentPrograms/wamp/bin/apache/apache2.4.9'
[Mon Jul 27 22:04:49.164014 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00418: Parent: Created child process 7256
[Mon Jul 27 22:04:49.755828 2015] [mpm_winnt:notice] [pid 7256:tid 312] AH00354: Child: Starting 64 worker threads.
[Mon Jul 27 22:04:50.937481 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00428: Parent: child process 7256 exited with status 255 -- Restarting.
[Mon Jul 27 22:04:51.107491 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Mon Jul 27 22:04:51.108491 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Mon Jul 27 22:04:51.108491 2015] [core:notice] [pid 8060:tid 388] AH00094: Command line: 'D:\\DevelopmentPrograms\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d D:/DevelopmentPrograms/wamp/bin/apache/apache2.4.9'
[Mon Jul 27 22:04:51.110491 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00418: Parent: Created child process 6848
[Mon Jul 27 22:04:51.705702 2015] [mpm_winnt:notice] [pid 6848:tid 312] AH00354: Child: Starting 64 worker threads.
[Mon Jul 27 22:06:44.944044 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00428: Parent: child process 6848 exited with status 255 -- Restarting.
[Mon Jul 27 22:06:45.187653 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Mon Jul 27 22:06:45.187653 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Mon Jul 27 22:06:45.187653 2015] [core:notice] [pid 8060:tid 388] AH00094: Command line: 'D:\\DevelopmentPrograms\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d D:/DevelopmentPrograms/wamp/bin/apache/apache2.4.9'
[Mon Jul 27 22:06:45.187653 2015] [mpm_winnt:notice] [pid 8060:tid 388] AH00418: Parent: Created child process 8908
[Mon Jul 27 22:06:45.841664 2015] [mpm_winnt:notice] [pid 8908:tid 312] AH00354: Child: Starting 64 worker threads.
Any help is very much appreciated.
EDIT: I went into Windows Event Viewer and this is what I found.
Faulting application name: httpd.exe, version: 2.4.9.0, time stamp: 0x53258cd5
Faulting module name: php5ts.dll, version: 5.5.12.0, time stamp: 0x53614545
Exception code: 0xc00000fd
Fault offset: 0x0000000000139344
Faulting process id: 0x1720
Faulting application start time: 0x01d0c8e57ed9d544
Faulting application path: D:\DevelopmentPrograms\wamp\bin\apache\apache2.4.9\bin\httpd.exe
Faulting module path: D:\DevelopmentPrograms\wamp\bin\apache\apache2.4.9\bin\php5ts.dll
Report Id: bceb2687-34d8-11e5-bae9-00248c605386
I resolved this issue by running the 32-bit version of WAMP instead of 64-bit.
I'm running the latest WAMP package currently. I'm trying to run OpenCart but I just get a blank white screen after I modified the Index.php a bit. I looked at the Apache error log and I cannot tell warning from error and I have no clue what to fix.
[Fri Jan 24 21:48:19.458060 2014] [auth_digest:notice] [pid 16096:tid 536] AH01757: generating secret for digest authentication ...
[Fri Jan 24 21:48:19.459060 2014] [lbmethod_heartbeat:notice] [pid 16096:tid 536] AH02282: No slotmem from mod_heartmonitor
[Fri Jan 24 21:48:20.562123 2014] [ssl:warn] [pid 16096:tid 536] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 24 21:48:20.591124 2014] [mpm_winnt:notice] [pid 16096:tid 536] AH00455: Apache/2.4.4 (Win64) OpenSSL/1.0.1f PHP/5.4.12 configured -- resuming normal operations
[Fri Jan 24 21:48:20.592124 2014] [mpm_winnt:notice] [pid 16096:tid 536] AH00456: Server built: Feb 22 2013 22:08:37
[Fri Jan 24 21:48:20.592124 2014] [core:notice] [pid 16096:tid 536] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Fri Jan 24 21:48:20.595125 2014] [mpm_winnt:notice] [pid 16096:tid 536] AH00418: Parent: Created child process 16260
[Fri Jan 24 21:48:21.493176 2014] [auth_digest:notice] [pid 16260:tid 476] AH01757: generating secret for digest authentication ...
[Fri Jan 24 21:48:21.494176 2014] [lbmethod_heartbeat:notice] [pid 16260:tid 476] AH02282: No slotmem from mod_heartmonitor
[Fri Jan 24 21:48:22.557237 2014] [ssl:warn] [pid 16260:tid 476] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 24 21:48:22.574238 2014] [mpm_winnt:notice] [pid 16260:tid 476] AH00354: Child: Starting 150 worker threads.
[Fri Jan 24 21:48:47.489663 2014] [mpm_winnt:notice] [pid 16096:tid 536] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Jan 24 21:48:52.001921 2014] [mpm_winnt:notice] [pid 16260:tid 476] AH00364: Child: All worker threads have exited.
[Fri Jan 24 21:48:52.031923 2014] [mpm_winnt:notice] [pid 16096:tid 536] AH00430: Parent: Child process 16260 exited successfully.
Help would be appreciated.