how to set the APC modules in Yii1.1x

hello!

I have an problem on using Yii1.1

the notice is :require() [<a href=‘function.require’>function.require</a>]: Unable to allocate memory for pool.

like this:

my webserver were enabled the APC, and i did not set the cache on yiiframework

I wanna know how to disabled the APC module in yiiframework

Thanks!

You can disable APC in the php.ini file. Type: apc.enabled=0

that will be work .but how can i use yiiframework on a server with running APC?

this is an confusion for me.

thank you all the same!!

My website is Yii 1 and it is on a server with APC. No problems at all. Well actually I don’t have APC, which is outdated. Instead, I have Opcache + Zend Guard (Make sure PHP >= 5.3, otherwise use Zend Optimizer). To enable it type this on php.ini:


opcache.memory_consumption=128

opcache.interned_strings_buffer=8

opcache.max_accelerated_files=4000

opcache.revalidate_freq=60

opcache.fast_shutdown=1

opcache.enable_cli=1


zend_extension="/usr/local/Zend/lib/Guard-6.0.0/php-5.4.x/ZendGuardLoader.so"