1098 Commits

Author SHA1 Message Date
Graham Campbell
b820214690 Fixed ParseError in stub file (#468)
Match PHP 7 version of the file which has NULL as the default value of this bool argument.
2020-12-17 12:00:42 -08:00
Aaron Stone
fc33513d32 Add PHP 8.0 to the Travis CI matrix, use 'nightly' builds (#462) 2020-12-03 09:16:42 -08:00
Michael Wallner
8f3c5dc0fa fix php8 arginfo (#467) 2020-11-30 19:09:57 -08:00
Remi Collet
9a429d43f8 Promote error "Memcached constructor was not called" to exception with PHP 8 (#465)
For consistency with other PHP 8 extensions.
2020-11-17 03:04:15 -08:00
SpencerMalone
f97b2e3ad9 Include a fuller list of response constants from libmemcached (#457) 2020-10-09 04:49:58 -07:00
Aaron Stone
7120d80cb9 Set TCP_NODELAY when setting binary protocol (#421)
* Set TCP_NODELAY when setting binary protocol
* Add braces to the check_set_behavior macro
2020-10-09 03:23:41 -07:00
hulk
a452d9a1e5 MOD: don't re-set the libmemcached option if not modified (#451)
libmemcached would close all connections if the option(like MEMCACHED_BEHAVIOR_BINARY_PROTOCOL)
was set, even though value wasn't modified.
2020-10-09 02:53:09 -07:00
Julien Boulen
38ad2e0b09 Fix memcached.ini comment - remove reference to old config name (#456)
Co-authored-by: julien <no-reply@gmail.com>
2020-10-09 02:52:03 -07:00
Aaron Stone
6d6c6f4c35 Merge pull request #463 from remicollet/issue-arginfo
generate arginfo from stub for PHP 7 and 8
2020-10-09 02:49:51 -07:00
Remi Collet
baa6bfda6f cleanup HAVE_SPL, removed in 8 as always there 2020-10-08 13:48:30 +02:00
Remi Collet
18945f9b58 add new file to pecl archive 2020-10-08 12:37:20 +02:00
Remi Collet
e8f53777d3 generate arginfo from stub for PHP 7 and 8 2020-10-08 12:21:57 +02:00
Dmitriy
c94e014da5 fix php 8.0 build (#461)
fci.no_separation removed on php 8.0.
302933daea
2020-10-02 09:34:31 -07:00
Jon Desrosiers
2d43ce8c92 PHP 7.4 is no longer in "snapshot". (#460) 2020-09-29 11:16:48 -07:00
Julien Boulen
ed3f39d07e Fix memcached.ini comment - use new config name not the old one (#455) 2020-03-11 04:00:43 -07:00
Aaron Stone
d7daff6494 Bump version and release notes for 3.1.5 v3.1.5 2019-12-03 13:56:22 -08:00
Aaron Stone
7141624896 Fix typo 2019-12-03 13:51:20 -08:00
Po-Chuan Hsieh
03f034f63e Fix build with PHP 7.4 (#445)
Build error on FreeBSD with PHP 7.4 RC6:
--- php_memcached.lo ---
/wrkdirs/usr/ports/databases/pecl-memcached/work-php74/memcached-3.1.4/php_memcached.c:3237:7: error: expected ';' after expression
        ulong key_index;
             ^
             ;
/wrkdirs/usr/ports/databases/pecl-memcached/work-php74/memcached-3.1.4/php_memcached.c:3237:2: error: use of undeclared identifier 'ulong'
        ulong key_index;
        ^
/wrkdirs/usr/ports/databases/pecl-memcached/work-php74/memcached-3.1.4/php_memcached.c:3237:8: error: use of undeclared identifier 'key_index'
        ulong key_index;
              ^
/wrkdirs/usr/ports/databases/pecl-memcached/work-php74/memcached-3.1.4/php_memcached.c:3250:49: error: use of undeclared identifier 'key_index'
        ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(options), key_index, key, value) {
                                                       ^
/wrkdirs/usr/ports/databases/pecl-memcached/work-php74/memcached-3.1.4/php_memcached.c:3255:44: error: use of undeclared identifier 'key_index'
                        if (!php_memc_set_option(intern, (long) key_index, value)) {
                                                                ^
5 errors generated.
*** [php_memcached.lo] Error code 1
2019-11-18 10:01:10 -08:00
Aaron Stone
5fd997fc68 Bump version to 3.1.4 v3.1.4 2019-10-06 09:01:37 -07:00
Aaron Stone
0ee62bd55d Release notes for 3.1.4 2019-10-06 09:00:01 -07:00
Aaron Stone
77120444b4 Revert "Use temporary fork of igbinary for php-8 support"
Upstream accepted the patch for PHP master / PHP 8 support.
This reverts commit 26e38ccee6.
2019-10-05 09:02:48 -07:00
Aaron Stone
487db05661 Merge pull request #444 from sodabrew/remove-tsrmls-macro 2019-10-03 17:00:14 -07:00
Aaron Stone
26e38ccee6 Use temporary fork of igbinary for php-8 support 2019-10-03 16:46:23 -07:00
Aaron Stone
5d154be286 Remove stray instances of TSRMLS_CC macro
This macro was defined empty in PHP 7.x, and removed in PHP 8.x.
2019-10-03 16:25:36 -07:00
Graham Campbell
7443d16d02 Test on PHP 7.4 as well as 8.0 (#440) 2019-06-17 18:04:47 +03:00
Gerry Demaret
cd62e8f463 Update documented default for sess_lock_retries (#432)
The documented default was 200, while in reality it seems this is
actually set to 5. While 5 is arguably on the low side, at least have
the documentation in sync with reality.
2019-05-21 11:44:17 -07:00
Aaron Stone
dd7e137da4 Merge pull request #433 from EtienneM/patch-1
Mention PHP 7.3 support in README
2019-04-11 06:53:16 -07:00
Étienne M
455d7823b9 Supports PHP 7.3
Supported according to #408
2019-04-11 14:59:20 +02:00
Aaron Stone
e7ac9225ab Merge pull request #431 from TysonAndre/fix-segfault-unknown-flags
Fix segfault for unknown memcache flags
2019-03-11 15:16:41 -07:00
Tyson Andre
37f2cf98ae Fix segfault for unknown memcache flags
Set retval to false so that the resulting uninitialized zval won't be
used.
2019-03-11 17:40:40 -04:00
Aaron Stone
3ba380c129 Bump version to 3.1.3 v3.1.3 2018-12-24 13:41:36 -08:00
Aaron Stone
9cf9580622 Release notes for 3.1.3 2018-12-24 13:41:36 -08:00
Aaron Stone
c76ec9e6ea Release notes for 3.1.2 and 3.1.3, fix dates for 3.1.x 2018-12-24 13:38:57 -08:00
Aaron Stone
c85d9029fb Fix --disable-memcached-session by ifdef-ing session INI handler callbacks (#420)
Resolves #396
2018-12-24 13:16:42 -08:00
Remi Collet
35292435e2 fix build warning (#417) 2018-12-22 08:00:04 -08:00
Aaron Stone
02e1e2ffd2 Bump version to 3.1.2 v3.1.2 2018-12-22 07:54:42 -08:00
Aaron Stone
206f12bdda Release notes for 3.1.2 2018-12-22 07:54:24 -08:00
Aaron Stone
5ad7c05614 Partially revert b4d105b caught one option too many 2018-12-22 05:59:52 -08:00
Aaron Stone
b4103acd03 Bump version to 3.1.1 v3.1.1 2018-12-21 04:51:44 -08:00
Aaron Stone
e2dbf33fe9 Release notes for 3.1.1 2018-12-21 04:51:32 -08:00
Aaron Stone
9f7d049737 Fix zend_string warning 2018-12-21 04:46:06 -08:00
Aaron Stone
b4d105bd41 Set defaults to match --enable-x rather than --disable-x 2018-12-21 04:45:44 -08:00
Aaron Stone
4a82c59f49 Document that --disable-x options are --enable-x 2018-12-21 04:44:15 -08:00
Aaron Stone
699e68953a Bump version to 3.1.0 v3.1.0 2018-12-21 03:49:12 -08:00
Aaron Stone
193590e93b Release notes for 3.1.0 2018-12-21 03:48:49 -08:00
Aaron Stone
c5618158c5 Handle fatal error in session badconf persistent test 2018-12-21 02:08:04 -08:00
Aaron Stone
e9381d07ca Travis CI switch to Xenial, remove deprecated sudo flag 2018-12-21 01:39:33 -08:00
Aaron Stone
282eca70cb Add PHP 7.3 to Travis CI matrix, drop ancient libmemcached 2018-12-21 01:29:12 -08:00
Aaron Stone
2aa0d68a77 Nits 2018-12-21 01:28:08 -08:00
Aaron Stone
0b79956e6d Error message if old PERSISTENT=n flag is used in session.save_path 2018-12-21 01:28:03 -08:00