Author: Christoph M. Becker (cmb69)
Date: 2022-03-09T19:32:01+01:00

Commit: 
https://github.com/php/web-rmtools/commit/822f808c7abbaa7e801858320e3889e3f646beee
Raw diff: 
https://github.com/php/web-rmtools/commit/822f808c7abbaa7e801858320e3889e3f646beee.diff

Prepare for memcached builds

In theory, this should work, but in practice it fails since libmemcached
ships headers with standard names[1] which are erroneously included.  We
still make the change, if only as a reminder that libmemcached needs to
be fixed.

We shall have a look at building with `--enable-memcached-igbinary` when
the header issue has been resolved.

[1] 
<https://github.com/awesomized/libmemcached/issues/61#issuecomment-1063228187>

Changed paths:
  M  data/config/pecl/exts.ini


Diff:

diff --git a/data/config/pecl/exts.ini b/data/config/pecl/exts.ini
index cbd3b54..e638cf5 100644
--- a/data/config/pecl/exts.ini
+++ b/data/config/pecl/exts.ini
@@ -500,13 +500,14 @@ ignore=1
 [pdo_informix]
 ignore=1
 
-; actually this wont work, the only port i could find is 0.29, but the ext 
require 1.x
 [memcached]
-ignore=1
-type=with
+type=enable
 libs[]=libmemcached
-exts[]=
-opts[]=
+opts[]=--enable-memcached=shared
+opts[]=--enable-memcached-session
+opts[]=--disable-memcached-igbinary
+opts[]=--enable-memcached-json
+no_conf=1
 
 [v8js]
 type=with

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to