Re: APC optimization in CLI

From: Date: Sun, 09 Aug 2009 20:01:00 +0000
Subject: Re: APC optimization in CLI
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-296518@lists.php.net to get a copy of this message
Robert Cummings wrote:
Matic Meznar wrote:
Hi, When running a PHP script from CLI, does APC optimize it before execution, or does APC only provide the apc_*() functions when runing in CLI mode?
If I recall correctly, none of the accelerators work in CLI mode.
There is a php.ini setting named apc.enable_cli, which would suggest otherwise. I tried enabling it, and it seems my CLI script is a little faster actually. Highly unscientific but looks like about 10%. Cheers, Mattias

« previous php.general (#296518) next »