cakephp/cakephp — pull request #687 by fiblan (2012-06-08 10:03:41+00:00)
Title: Xcache is not available for php-cli

Xcache is not available for php-cli.

The xcache team has not decided possibile solutions to avoid errors:
http://xcache.lighttpd.net/ticket/228

Then is necessary a check if (php_sapi_name ()==='cli')