Sujitha
Sujitha

Reputation: 115

Call to undefined function apc_fetch()

Im using the below code to my project ,It is not working on locally
while running the code it was showing Call to undefined function apc_fetch() .

 $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 this line extension=php_apc.dll but still it is not working .

Can anybody please solve my Problem ,Thanks

Upvotes: 9

Views: 24473

Answers (1)

varadha
varadha

Reputation: 59

you need APC extension to work with APC.

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

download your APC extension which suites your 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/

Upvotes: 5

Related Questions