← Back to team overview

ius-coredev team mailing list archive

[Bug 1084130] Re: Update of php53u-xcache-3.0.0-1.ius.el6.x86_64 from previous stable version breaks backwards compatibility

 

Installing php53u and xcache on Testing el5 x86_64 server:

  # rpm -qa | grep php53u
  php53u-xcache-3.0.0-1.ius.el5
  php53u-common-5.3.18-1.ius.el5
  php53u-cli-5.3.18-1.ius.el5
  php53u-5.3.18-1.ius.el5

  # php -m | grep -i xcache
  XCache
  XCache Cacher
  XCache Coverager
  XCache Optimizer
  XCache
  XCache Cacher
  XCache Coverager
  XCache Optimizer

  # php -i | grep "with XCache"
      with XCache v3.0.0, Copyright (c) 2005-2012, by mOo
      with XCache Optimizer v3.0.0, Copyright (c) 2005-2012, by mOo
      with XCache Cacher v3.0.0, Copyright (c) 2005-2012, by mOo
      with XCache Coverager v3.0.0, Copyright (c) 2005-2012, by mOo

==

# rpm -q php53u-xcache -l | grep xcache.ini
/etc/php.d/xcache.ini
/usr/share/doc/php53u-xcache-3.0.0/xcache.ini

# cat /etc/php.d/xcache.ini
[xcache-common]
extension = xcache.so

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

; xcache.admin.pass should be md5($your_password), or empty to disable administration. 
xcache.admin.pass = ""
xcache.test =       Off
;xcache.coredump_directory = ""

[xcache]
xcache.cacher =               On
xcache.size  =               60M
xcache.count =                 1
xcache.slots =                8K
xcache.ttl   =              3600
xcache.gc_interval =         300

; Same as aboves but for variable cache
; If you don't know for sure that you need this, you probably don't
xcache.var_size  =            4M
xcache.var_count =             1
xcache.var_slots =            8K
xcache.var_ttl   =          3600
xcache.var_maxttl   =       3600
xcache.var_gc_interval =     300

; N/A for /dev/zero
xcache.readonly_protection = Off

; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
; 2 group of php won't share the same /tmp/xcache
xcache.mmap_path =    "/dev/zero"

xcache.optimizer =           Off

xcache.coverager =           Off
;xcache.coveragedump_directory = "/tmp/pcov"

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1084130

Title:
  Update of  php53u-xcache-3.0.0-1.ius.el6.x86_64 from previous stable
  version breaks backwards compatibility

Status in IUS Community Project:
  In Progress

Bug description:
  Updating  php53u-xcache-3.0.0-1.ius.el6.x86_64 causes backwards
  compatibility to be broken regarding the configuration file.

  It leaves previous configuration using zend_extension=.../xcache.so
  and the current configuration requires it to be
  extension=.../xcache.so

  Any update without manual changes breaks xcache support on server
  causing PHP to throw the following error:

  
  "xcache.so doesn't appear to be a valid Zend extension"

  Also, the  php53u-xcache package seems to be missing from the testing
  repository.

  
  Cheers,
  Marco Lopes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1084130/+subscriptions


References