Custom Query (313 matches)


Show under each result:

Results (16 - 18 of 313)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Ticket Resolution Summary Owner Reporter
#339 invalid xache3.1.0 Repeat pop-up window requires authentication moo RucLinux

My e-mail address: I can not log xcache3.1.0 management panel.Enter the correct user name and password are constantly requires authentication pop-up window, can not log in normally.User names and passwords are accurate.

#tar -zxvf xcache-3.1.0.tar.gz
#cd xcache-3.1.0
#./configure -with-php-config=/usr/bin/php-config -enable-xcache -enable-xcache-coverager -enable-inline-optimization -disable-debug
#make && make install
#vi /etc/php.d/xcache.ini
zend_extension = /usr/lib/php/modules/
xcache.admin.enable_auth = On
xcache.admin.user = "admin"
xcache.admin.pass = md5($pass)

#cp -ar htdocs /www/root/
#service php-fpm restart
#service httpd restart
#php -v
PHP 5.4.24 (cli) (built: Jan 10 2014 18:37:23) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Coverager v3.1.0, Copyright (c) 2005-2013, by mOo

XCache Authentication Failed
#337 fixed Files cached incorrectly between vhosts moo davidh87


I have multiple branches of the same project running on separate vhosts, with URLs such as trunk.localhost/, test1.localhost/. Due to the branches being for the same projects, most of the files have the same names.

Starting from a cleared PHP cache, loading one project works fine and relevant files are cached. Loading the second project then fails - the initially accessed index.php file is loaded and cached correctly, but any require'd PHP files are the cached versions of the other vhost's files.

Disabling the PHP cache yields the correct results for both vhosts.

Have also tried and confirmed that browser cache is not the issue.

#335 invalid whitelist auth for admin functions moo godog

Hi, thanks for xcache!

I was trying to get some stats out and was wondering if some of the admin functions could be whitelisted (say via config, via a list of functions) to not require auth, e.g. if you are trying to get statistics out (say towards a monitoring platform) then they are effectively read-only (xcache_count and xcache_info). Whitelist rationale being that calling these functions just gets data out.


I've come up with sth like this:

  "compiling", "disabled", "misses", "hits", "clogs",
  "ooms", "errors", "cached", "deleted", "size", "avail"

function xcache_type_stats($type) {

  $total = array();
  $type_stats = array();

  for ($i = 0; $i < xcache_count($type); $i++) {
    $type_stats[] = xcache_info($type, $i);

  foreach($type_stats as $unused => $type_stat) {
    foreach($type_stat as $k => $v) {
      if(!in_array($k, $EXPORTED_STATS)) {

      if(!isset($total[$k])) {
        $total[$k] = 0;
      $total[$k] += $v;
  return $total;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Note: See TracQuery for help on using queries.