Hi

Dne Tue, 7 May 2013 10:24:19 +0200 (CEST)
Chris <[email protected]> napsal(a):

> when xcache is enabled through the conf.d/xcache.ini file a script executed 
> by the php cli shows errors like this:
> 
> -----------------
> xcache_isset(): XCache var cache was not initialized properly. Check php log 
> for actual reason
> xcache_set(): XCache var cache was not initialized properly. Check php log 
> for actual reason
> -----------------
> 
> According to a upstream ticket:
> 
> http://xcache.lighttpd.net/ticket/228
> Cache-link: 
> https://webcache.googleusercontent.com/search?q=cache:ZILnufD5egYJ:xcache.lighttpd.net/ticket/228
>  (Because the lighttpd.net page seems to be down atm)
> 
> xcache is not compatible with the php cli version and should be disabled for 
> the cli. I don't know a proper solution for this because the /etc/php5/cli 
> and /etc/php5/fpm (or apache2) folders are using the same conf.d folder and 
> there is no seperation possible at the moment.

Unfortunately I have no clue how to achieve this with current way of
configuring PHP.

In addition I find the upstream argumentation quite strange - one of
valid use cases are unit tests, where you don't need to share anything,
you just need same API and behavior as with other SAPI.

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

Reply via email to