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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to