php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67515 Apache is crashing
Submitted: 2014-06-25 16:11 UTC Modified: 2016-11-18 21:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: anand dot sunderraman at gmail dot com Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: 5.4.29 OS: Windows7 64-bit
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: anand dot sunderraman at gmail dot com
New email:
PHP Version: OS:

 

 [2014-06-25 16:11 UTC] anand dot sunderraman at gmail dot com
Description:
------------
1. Tried installing php_apc-3.1.13-5.4-ts-vc9-x86
2. PHP version reads as follows:
   PHP 5.4.22 (cli) (built: Nov 13 2013 21:17:59)
   Copyright (c) 1997-2013 The PHP Group
   Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
   with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
3. OS: Windows 7 64-bit Service Pack 1
4. PHP is installed using XAMPP 1.8.2
5. php.ini configuration for apc cache is:
   extension=php_apc.dll
   apc.enabled=1
   apc.stat=1
   apc.shm_segments=1
   apc.shm_size=128M
   apc.num_files_hint=7000
   apc.user_entries_hint=4096
   apc.ttl=7200
   apc.user_ttl=7200
   apc.gc_ttl=3600
   apc.write_lock=1
Error message is:
Problem Event Name:	APPCRASH
  Application Name:	httpd.exe
  Application Version:	2.4.7.0
  Application Timestamp:	5294b878
  Fault Module Name:	php_apc.dll
  Fault Module Version:	5.4.22.0
  Fault Module Timestamp:	5310c519
  Exception Code:	c0000005
  Exception Offset:	00010180
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	1033
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Test script:
---------------
To reproduce this error:

Enable apc cache and try restarting the apache server in XAMPP

Expected result:
----------------
APC cache should work fine

Actual result:
--------------
Server crashes
Problem Event Name: APPCRASH
  Application Name: httpd.exe
  Application Version:  2.4.7.0
  Application Timestamp:  5294b878
  Fault Module Name:  php_apc.dll
  Fault Module Version: 5.4.22.0
  Fault Module Timestamp: 5310c519
  Exception Code: c0000005
  Exception Offset: 00010180
  OS Version: 6.1.7601.2.1.0.256.48
  Locale ID:  1033
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
  Additional Information 3: 0a9e
  Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-07-23 09:02 UTC] alexandrenaulet at yahoo dot fr
Same problem for me
 [2014-07-23 12:22 UTC] alexandrenaulet at yahoo dot fr
From my side, I just solved the problem by using the dll on https://downloads.php.net/pierre/.
The dll I downloaded from php.net would be corrupted.
Try this solution
 [2014-07-23 13:47 UTC] anand dot sunderraman at gmail dot com
Hi

Which dll did you use from @ https://downloads.php.net/pierre/ ?
I tried the ts version from php_apc-3.1.10-5.4-vc9-x86.zip
but i still get the same error

What is your OS ? What is your version of Php ? are u on 32 or 64 bit ?
 [2014-07-23 13:58 UTC] alexandrenaulet at yahoo dot fr
I have a Windows 7 64 bits and a Windows 2012 Server 64 bits, php 5.3 x32, it works for both.

Yes, It's the good dll. Check if your Apache is NTS or TS with phpinfo(). Restart Apache
 [2014-07-23 14:02 UTC] anand dot sunderraman at gmail dot com
Yes so you are on PHP 5.3 where as I am on 5.4 so that is the difference.
5.4 does not seem to work as expected
 [2014-07-23 14:07 UTC] alexandrenaulet at yahoo dot fr
I have not tested in 5.4, but as this to solve the problem for me in 5.3, I proposed this solution
 [2016-11-18 21:00 UTC] kalle@php.net
-Status: Open +Status: Wont fix
 [2016-11-18 21:00 UTC] kalle@php.net
APC is no longer supported in favor of opcache that comes bundled with PHP, if you wish to use the user cache, then look at PECL/APCu.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC