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!
oligalma
(Marc Oliveras)
May 28, 2016, 7:48am
2
You can disable APC in the php.ini file. Type: apc.enabled=0
316942723
(316942723)
May 30, 2016, 10:03am
3
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!!
oligalma
(Marc Oliveras)
June 5, 2016, 10:57am
4
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"