Custom Query (299 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 299)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Resolution Summary Owner Reporter
#139 invalid xcache admin page not showing up scripts run from CLI moo gardron@…
Description

Hi,

If you run a script from CLI (on linux, in my case Redhat EL4 x64) this script does not show up in xcache web admin page. Anything executed under apache2 works fine, but I'm not sure if this means that the CLI run scripts arn't cached by xcache or if they're just not showing up in xcache admin.

My xcache ini setup follows:

[xcache-common] zend_extension = /usr/share/php/pecl/5.2.4/xcache.so

[xcache.admin] xcache.admin.auth = On xcache.admin.user = "admin" xcache.admin.pass = "acbd18db4cc2f85cedef654fccc4a4d8"

[xcache] xcache.shm_scheme = "mmap" xcache.size = 64M xcache.count = 2 xcache.slots = 8K xcache.ttl = 86400 xcache.gc_interval = 300

; same as aboves but for variable cache xcache.var_size = 8M xcache.var_count = 1 xcache.var_slots = 8K ; default ttl xcache.var_ttl = 86400 xcache.var_maxttl = 96000 xcache.var_gc_interval = 300 ; same as aboves but for variable cache xcache.var_size = 8M xcache.var_count = 1 xcache.var_slots = 8K xcache.var_ttl = 86400 xcache.var_maxttl = 96000 xcache.var_gc_interval = 300

xcache.test = Off xcache.readonly_protection = Off xcache.mmap_path = "/dev/zero" xcache.coredump_directory = "/tmp/phpcore"

xcache.cacher = On xcache.stat = On xcache.optimizer = On

[xcache.coverager] xcache.coverager = Off xcache.coveragedump_directory = ""

Regards,

-- Gareth Ardron

#119 worksforme xcache 1.2.1 has problems together with zend optimizer 3.3.0 moo anonymous
Description

In the admin page, the compile is always set to "yes" and the clogging number keeps increasing. It seems that it stucks with one of the zend optimizer code.

I removed the zend optimizer from the php.ini, then the xcache works fine

-sh-3.00$ php-cgi -v PHP 5.2.3 (cgi-fcgi) (built: Jun 18 2007 17:33:40) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

with XCache v1.2.1, Copyright (c) 2005-2007, by mOo with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

#111 xcache 1.2.0 and 1.2.1 break php 4.4.7 is_a() call moo kamikaze
Description

create a file is_a.php with contents:

# cat > is_a2.php <<EOF
<?php
class A {};
class B extends A {};
class C extends B {};
$b =& new B;
$c =& new C;
echo is_a($c, 'B');
EOF

# php -v
PHP 4.4.7-pl0-gentoo (cli) (built: May 24 2007 10:39:17)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with XCache v1.2.1, Copyright (c) 2005-2007, by mOo

# php is_a.php
Segmentation fault

# php -n is_a.php
1

With xcache, it always works, with xcache enabled, it usually breaks. Sometimes after moving the file it works the first or second time before breaking. Sometimes not.

/etc/php/cli-php4/ext/xcache.ini:

zend_extension=/usr/lib64/php4/lib/php/extensions/no-debug-non-zts-20020429/xcache.so
auto_globals_jit="0"
xcache.cacher="1"
xcache.size="10M"
xcache.count="2"
xcache.slots="8k"
xcache.var_size="0"
xcache.var_count="1"
xcache.readonly_protection="0"
xcache.mmap_path="/dev/zero"
xcache.stat="1"
xcache.optimizer="0"
xcache.coverager="0"
xcache.coveragedump_directory=""

Regardless of how xcache is disabled, it then works. Xcache breaks with php used via any of fast cgi, cli, or sapi with apache2. This breaks on both amd64 and x86. Both xcache versions 1.2.0 and 1.2.1 are affected.

All of these combinations break:
amd64/glibc 2.5/gcc 4.1.1
amd64/glibc 2.5/gcc 4.1.2
x86/glibc 2.5/gcc 4.1.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Note: See TracQuery for help on using queries.