WL: php5x-pecl-memcached

Bug #585995 reported by David Strauss
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DEPRECATED Pantheon
New
Undecided
Unassigned
IUS Community Project
Fix Released
Wishlist
Jeffrey Ness

Bug Description

I noticed that IUS packages PECL memcache. The PECL memcached extension is increasingly favored these days for various reasons, and a good package would make it easier to install. It does, however, require libmemcached. Remi's repository has good libmemcached and PECL memcached packages, if you're looking for a basis.

Tags: wishlist
Revision history for this message
BJ Dierkes (derks) wrote :

Thank you for the request. It shouldn't be difficult to add this package in the near future.

tags: added: wishlist
Changed in ius:
importance: Undecided → Low
importance: Low → Wishlist
summary: - Package PECL memcached
+ WL: php5x-pecl-memcached
Revision history for this message
BJ Dierkes (derks) wrote :

This package requires libmemcached which is not in EPEL 5 currently (making it a candidate for EPEL rather than IUS). I've contacted the maintainer for libmemcached in Fedora (remi) who provided the following feedback as to why it is not currently in EPEL:

"This library is under very active development (about 1 version every 2 months) and have a lot of ABI breaks between each version. So, not really stable enough for EPEL policy."

I'm going to sit on this one for a bit. If it comes down to it, we can add the dep to IUS until it is stable enough for EPEL, however the same ABI breakage would be an issue that we need to consider before adding it.

Changed in ius:
assignee: nobody → BJ Dierkes (derks)
status: New → Triaged
Revision history for this message
dziastinux (dziastinux) wrote :

What about now? libmemcached is included in EPEL5.

Changed in ius:
status: Triaged → New
Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :

Greetings,

It does seem php-pecl-memcached and libmemcached are now available through EPEL:

   http://download.fedora.redhat.com/pub/epel/5/SRPMS/repoview/libmemcached.html
   http://download.fedora.redhat.com/pub/epel/5/SRPMS/repoview/php-pecl-memcached.html

I will review the php-pecl-memcached SPEC and see what will be needed from IUS to add this
as a module for php53u

Thanks
Jeffrey-

Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :

I have created a successful build for php53u-pecl-memcached-1.0.0-2.ius and tagged it as testing-candidate,
this build will be synced to the testing repo tonight (it could take up to 24 hours for the mirrorlist to sync from this).

Once this package has been synced would you mind testing and providing feedback.

Thanks
Jeffrey-

Changed in ius:
assignee: BJ Dierkes (derks) → Jeffrey Ness (jeffrey-ness)
status: New → In Progress
Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :
Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :

You can also install from the testing repo directly with the following command:

   yum install php53u-pecl-memcached --enablerepo=ius-testing

Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :

Package installs and provides functionality:

# php -v
PHP 5.3.13 (cli) (built: May 8 2012 15:39:23)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

# php -m | grep memcache
memcached

# php -i | grep memcached
/etc/php.d/memcached.ini,
memcached
memcached support => enabled
libmemcached version => 0.31
Registered save handlers => files user memcached

====

Functionality tested:

# php
<?php
$m = new Memcached();
$m->addServer('localhost', 11211);

$m->set('foo', 100);
var_dump($m->get('foo'));
?>

int(100)

Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :

Package has been tagged and will be available in IUS stable on tonights sync.

Changed in ius:
status: In Progress → Fix Committed
Changed in ius:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.