Edit report at https://bugs.php.net/bug.php?id=58453&edit=1
ID: 58453 Comment by: clepsos2003 at hotmail dot com Reported by: pradeep dot gems at gmail dot com Summary: in CLI mode APC cache is not working in windows Status: Open Type: Bug Package: APC Operating System: Windows PHP Version: 5.2.5 Block user comment: N Private report: N New Comment: Same problem on Wamp (PHP 5.3.7 - Apache 2.2.11) Here is the command line code : php -d apc.enable_cli=1 -r "apc_clear_cache();" Previous Comments: ------------------------------------------------------------------------ [2009-12-16 10:17:50] spoon at nexdot dot net System has 1.3GB of physical ram not in use. Ive tried everything from setting the shm size to 1M to forcing apache/php to run as admin w/ full rights. Its quite awkward. It appears that APC is running just fine when I load php using fcgi - load tests & phpinfo() confirm its loaded. Only fails when loading php as a module or when trying to run cli when fcgi is running (im assuming this is because of a sharing violation of some sort?) ------------------------------------------------------------------------ [2009-12-12 22:51:07] sh...@php.net Can you verify that your system is not running low on/ or out of memory? Perhaps this could be a failure due to the system being unable to allocate memory for the shared memory segment. ------------------------------------------------------------------------ [2009-12-09 15:22:59] spoon at nexdot dot net Same problem here. Server 2003, Apache 2.2.14 VC9, PHP 5.3.1 VC9 (both TS and NTS), APC 3.1 VC9 (both TS and NTS) from http://downloads.php.net/pierre/ (dated: 20091026) When running PHP as a module in apache, web pages come up blank, if I run php.exe (while apache is still running) I receive [apc-error] apc_shm_create: shmget(0, 31457280,658) failed: No such file or directory. It is possible that the chosen egment size is higher than the operation system allows. Linux has usually a default limit of 32MB per segment. If i stop apache, I can successfully run php.exe.... but that doesnt help me too much :) ------------------------------------------------------------------------ [2009-10-12 01:35:27] pradeep dot gems at gmail dot com apc] extension=php_apc.dll apc.enabled = On apc.enable_cli = On ------------------------------------------------------------------------ [2009-10-10 10:11:07] kukulich at kukulich dot cz I got same error with this APC settings: [apc] extension=php_apc.dll apc.enabled = On apc.enable_cli = On WinXP, Apache 2.2 VC9, PHP 5.3.1 RC 1 VC9, APC 3.1.3p1 (I got same error with 5.2 VC6 and older version of APC) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=58453 -- Edit this bug report at https://bugs.php.net/bug.php?id=58453&edit=1