Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Call to undefined function apc_fetch()

Tags:

php

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

like image 239
Sujitha Avatar asked Apr 25 '14 10:04

Sujitha


1 Answers

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/

like image 191
varadha Avatar answered Oct 12 '22 00:10

varadha