XCache: Ticket Queryhttp://xcache.lighttpd.net/query?status=closed&milestone=4.0.0&group=resolution&order=version
XCache is an opcode cacher for php, with some opcode utilities.en-USXCache/chrome/site/xcache.pnghttp://xcache.lighttpd.net/query?status=closed&milestone=4.0.0&group=resolution&order=version
Trac 1.0.1http://xcache.lighttpd.net/ticket/285
http://xcache.lighttpd.net/ticket/285#285: check for cli and setup xcache.var_size before commencing xcache_var.phptFri, 10 Aug 2012 12:56:00 GMTdenu<p>
hi,
</p>
<p>
supporting <em>make test</em>ers by having some phpt's is great; thank you for that! We frequently do <em>make test</em> after compiling php to get an idea of the overall state, new bugs and such.
We do this by using cli sapi.
</p>
<p>
<strong>1) xcache_var.phpt does not check for cli-usage</strong>
and consequently reports FAIL, because var caching is not supported via cli(?).
</p>
<p>
if you could add something like
</p>
<pre class="wiki">--SKIPIF--
&lt;?php
if (php_sapi_name() == 'cli') {
die('skip not available for CLI');
}
?&gt;
</pre><p>
to <em>tests/xcache_var.phpt</em>, that'll be gone.
</p>
<p>
<strong>2) xcache_var.phpt tries to use var_cache features</strong>
but without requesting a testcase ini-setup and FAILs (even with other sapi), if xcache.var_size is still set to ootb-default (0).
</p>
<p>
if you could add something like
</p>
<pre class="wiki">--INI--
xcache.var_size=48k
xcache.var_count=1
xcache.var_slots=8K
xcache.var_ttl=0
xcache.var_maxttl=0
xcache.var_gc_interval=300
</pre><p>
to <em>tests/xcache_var.phpt</em>, this testcase would reliably work, regardless of ini settings or even ootb/unconfigured.
</p>
<p>
thank you
</p>
Resultshttp://xcache.lighttpd.net/ticket/285#changeloghttp://xcache.lighttpd.net/ticket/348
http://xcache.lighttpd.net/ticket/348#348: Class properties created from __FILE__ break multi sitesWed, 03 Sep 2014 11:13:42 GMTsteveh<p>
If you have a class which uses <span class="underline">FILE</span> to initialise a property and said class is used on multiple sites xcache caches the value and hence its incorrect for all but the first site accessed.
</p>
Resultshttp://xcache.lighttpd.net/ticket/348#changeloghttp://xcache.lighttpd.net/ticket/354
http://xcache.lighttpd.net/ticket/354#354: Trunk compiling error - "Not a member xc_vector_t on xc_cacher.c"Thu, 05 Feb 2015 20:12:23 GMTdrakmor<p>
Error when try compile trunk (4.0.x)
</p>
<p>
..\pecl\xcache\mod_cacher\xc_cacher.c(883) : error C2039: cnt: not a member "xc_vector_t" c:\php-sdk\phpdev\vc11\x86\pecl\xcache\util/xc_vector.h(12): see declaration "xc_vector_t"
</p>
<p>
Patch in attach.
</p>
Resultshttp://xcache.lighttpd.net/ticket/354#changelog