|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64621 APCu extension incompatible with multiple application pools and FCGI instances
Submitted: 2013-04-10 08:35 UTC Modified: 2013-10-15 11:54 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: julientld at free dot fr Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.4.13 OS: Windows Server 2012
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-04-10 08:35 UTC] julientld at free dot fr

The APCu extension for user caching seems to be incompatible with Windows servers using IIS, PHP as FastCGI and multiple application pools.


Windows Server 2012
IIS 8.0
PHP 5.4.13 x86 NTS VC9
APCu extension 4.0.0 x86 NTS VC9 for PHP 5.4 (
One IIS application pool per website
One FastCGI application (php-cgi.exe) per website

Test script:
APCu runs very well if you use it with only one website but if you use it with multiple application pools an HTTP 500 error is returned by IIS.

I think that when multiple application pools or multiple FastCGI applications are used, multiple simultaneous instances of APCu can't be created.

Original APC extension has probably the same problem (not tested).

With PHP 5.5 and integration of OPcache extension, the Microsoft WinCache extension will be probably stopped. So please, offer also to Windows users a solution for user caching.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-10 10:58 UTC]
Could you please post some error log, backtrace or similar you get?
 [2013-04-10 10:58 UTC]
-Status: Open +Status: Feedback
 [2013-10-15 11:54 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Oct 03 05:05:53 2022 UTC