|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
46 - 5 = ?
Subscribe to this entry?

 [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 01 14:01:29 2023 UTC