Re: [PHP] APC optimization in CLI

2009-08-11 Thread Robert Cummings
Daevid Vincent wrote: From: Robert Cummings [mailto:rob...@interjinn.com] However, accelerators don't make scripts faster per se. They merely cut out the script reading and parsing time. Which is a HUGE portion of time since PHP is a two-pass step. One that reads and compiles to opcodes (wit

Re: [PHP] APC optimization in CLI

2009-08-10 Thread Nathan Nobbe
On Mon, Aug 10, 2009 at 4:58 PM, Daevid Vincent wrote: > > From: Robert Cummings [mailto:rob...@interjinn.com] > > > > However, accelerators don't make scripts faster per se. > > They merely cut out the script reading and parsing time. > > Which is a HUGE portion of time since PHP is a two-pass s

RE: [PHP] APC optimization in CLI

2009-08-10 Thread Daevid Vincent
> From: Robert Cummings [mailto:rob...@interjinn.com] > > However, accelerators don't make scripts faster per se. > They merely cut out the script reading and parsing time. Which is a HUGE portion of time since PHP is a two-pass step. One that reads and compiles to opcodes (with syntax checking

Re: [PHP] APC optimization in CLI

2009-08-09 Thread Robert Cummings
Mattias Thorslund wrote: 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. The

Re: [PHP] APC optimization in CLI

2009-08-09 Thread Mattias Thorslund
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 n

Re: [PHP] APC optimization in CLI

2009-08-09 Thread Robert Cummings
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. Cheers, Rob. -- http://www.interjinn.com Application an