|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65292 When using APC, Apache is deadlocked.
Submitted: 2013-07-19 07:07 UTC Modified: 2016-11-18 21:08 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: naoto dot kawaura dot sf at hitachi-solutions dot com Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: Irrelevant OS: Windows
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.
Bug Type:
From: naoto dot kawaura dot sf at hitachi-solutions dot com
New email:
PHP Version: OS:


 [2013-07-19 07:07 UTC] naoto dot kawaura dot sf at hitachi-solutions dot com
When using APC, Apache is deadlocked.

API that causes deadlock is LockFileEx() and UnlockFileEx() in apc_fcntl_win32.c .

PHP 5.3.5 (VC6), APC 3.1.6 (VC6), Apache 2.2, Windows Server 2003 ~, 
multi cpu or hyper-thread 

Expected result:
APC dosen't cause deadlock.

Actual result:
APC causes deadlock.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-25 21:11 UTC]
You should try upgrading to at least php 5.3.25+. 5.3.5 is 3+ years old. A lot of improvements and new features have been added (mainly to 5.4 and 5.5 but also 5.3).

Really, you should upgrade to php 5.4 or 5.5 (unfortunately, that also requires upgrading to Windows 2008, 2008r2, 2012, 7, etc...).

PHP 5.3 is now in the End of Life cycle, so only critical security bugs will be fixed (see

APC works with 5.4. With 5.5, APC is deprecated in favor of Opcache (formerly Zend Optimizer+), though APCu can also be used alongside Opcache.
 [2016-11-18 21:08 UTC]
-Status: Open +Status: Wont fix
 [2016-11-18 21:08 UTC]
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-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 08 14:01:30 2023 UTC