Call undefined function apc_fetch ()

I use the code below for my project, it does not work on the local computer when I run the code on which it showed the call to the undefined apc_fetch () function.

$apc_key = "abc_list"; $info = apc_fetch($apc_key); 

I am using xampp 3.2.1, php 5.4.20, windows 7 In php.ini I used the extension of this line = php_apc.dll, but still does not work.

Can anyone solve my problem, thanks

+6
source share
1 answer

you need the APC extension to work with APC.

https://pecl.php.net/package/apc

Download the APC extension that matches your version of PHPversion. and install it on your XAMPP, or WAMP

on your Apache server to work with APC (alternative PHP cache).

http://kvcodes.com/2014/06/solution-call-undefined-function-apc_fetch/

+3
source

All Articles