Thursday, March 6, 2008

Enabling APC for PHP CLI scripts

Include the following lines in the php.ini script corresponding to the one used by PHP for running CLI scripts:

apc.enabled = On

apc.enable_cli = 1


Don't forget that the initialization file for the CLI operation of PHP is most probably different than the one used with Apache.

No comments:

Post a Comment