Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Community News:
Latest PECL Releases (02.14.2017)
Feb 14, 2017 @ 14:05:02

Latest PECL Releases:

  • APM 2.1.3
    Fixed:

    • PHP 5 build is broken #50 (Thanks Remi Collet)
  • APM 2.1.2
    Fixed: - Wrong path for mysql.h prevents Windows build - Possible segmentation fault and invalid errors under PHP 7.0 - Make error: duplicate symbol for architecture x86_64 #25 - Build with PHP 7.1 #44 (Thanks Remi Collet)
  • ds 1.1.7
    - Preliminary support for PHP 7.2
  • memcached 3.0.2
    PHP7 release of memcached extension. Note that support for libmemcached 0.x series has been discontinued and the oldest actively tested version is 1.0.2. It is highly recommended to use version 1.0.18 of libmemcached.

    Fixes

    • Update warning for touch command in binary protocol mode with libmemcached below 1.0.18 (#322)
    • Add tests for 64-bit increment/decrement/incrementByKey/decrementByKey (#321)
    • Fix tests for 32-bit increment/decrement/incrementByKey/decrementByKey (#319)
  • smbclient 0.9.0
    - fix gh#47 Incorrect function definition for smbclient_read - optimization: enable stream wrapper reusing connections
  • lua 2.0.3
    - Fixed issue #20 (PHP 7: Lua::eval(): unsupported type `unknown' for lua)
  • swoole_serialize 0.1.1
    - new extension
  • pdo_sqlsrv 4.1.6.1
    [Added] - Merged Windows and Linux source code. - Enabled connection pooling with unixODBC in Linux. [Fixed] - Fixed segmentation fault with PDOStatement::getColumnMeta() when the supplied column index is out of range. - Fixed the assertion error (Linux) when fetching data from a binary column using the binary encoding. - Fixed PECL installation errors when PHP was installed from source.
  • sqlsrv 4.1.6.1
    [Added] - Merged Windows and Linux source code. - Enabled connection pooling with unixODBC in Linux. [Fixed] - Fixed issues with sqlsrv_has_rows() to prevent it from moving statement cursor. - Fixed sqlsrv client buffer size to only allow positive integers. - Fixed PECL installation errors when PHP was installed from source.
  • memcached 3.0.0
    PHP7 release of memcached extension. Note that support for libmemcached 0.x series has been discontinued and the oldest actively tested version is 1.0.2. It is highly recommended to use version 1.0.18 of libmemcached.

    API

    • The method signature of get, getByKey, getMulti, and getMultiByKey changed.
    • get* and getMulti* commands no longer take cas or user flags parameters.
    • get* and getMulti* commands now take the Memcached::GET_EXTENDED flag to retrieve user flags and cas tokens.
    • Fixes getStats command to return all stats from all servers
    • Fixes allKeys command behaviour
    • Fixes error where cache callback for get command was not setting expiration time properly
    • Added server type to server list
    • Remove use_sasl ini-variable and initialise sasl as needed
    • CAS tokens are returned as integers and they overflow to strings as needed

    Session handler

    • The session memcached protocol config name was changed, and the default protocol was changed from text to binary protocol. If your memcached setup does not support the binary protocol(e.g. if using twemproxy), then set memcached.sess_binary_protocol = Off. (Previously called memcached.sess_binary)
    • Session lock algorithm updated (new ini-values memcached.sess_lock_wait_min, memcached.sess_lock_wait_max and memcached.sess_lock_retries)
    • Session extension uses PHP allocators (still some work to do on the rest of the extension)
    • Ini-values take effect during session_start or session_regenerate_id
    • Fixes crash with session_regenerate_id (work-around for PHP bug)

    Tests

    • Fix several problematic tests
  • memcached 3.0.1
    PHP7 release of memcached extension. Note that support for libmemcached 0.x series has been discontinued and the oldest actively tested version is 1.0.2. It is highly recommended to use version 1.0.18 of libmemcached.

    Fixes

    • Add API entries for flushBuffers() and getAllKeys() (#316)
    • Ignore specific errors from memcached_dump for getAllKeys() with newer memcached servers (#315)
    • Fix compiling with memcached binary protocol enabled (#312)
    • Restore php_libmemcached_compat with workaround for missing memcached_exists (#314)
    • Travis CI purge old versions of memcached and libmemcached (#309)
tagged:

Link:


Trending Topics: