PHP 5.6.8 works fine on the nginx-php-fpm Docker container.
We can upgrade to this version.
PHP 5.6.8 works fine on the nginx-php-fpm Docker container.
We can upgrade to this version.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | dereckson | T352 Software security issues on Ysul | |||
Resolved | dereckson | T354 Upgrade PHP to 5.6.8 on Ysul |
PHP itself
Apr 29 11:20:05 ysul pkg: php56 upgraded: 5.6.7 -> 5.6.8
Services php-fpm-dev and php-fpm-prod relaunched.
This fixes T352.
Extension and deps libraries
$ pkg upgrade php56-zlib $ pkg upgrade php56-zip php56-xmlwriter php56-xmlreader php56-xml php56-wddx php56-tokenizer php56-tidy php56-sqlite3 php56-sockets php56-soap php56-simplexml php56-session php56-posix php56-phar php56-pgsql php56-pdo_sqlite php56-pdo_pgsql php56-pdo_mysql php56-pdo php56-openssl php56-opcache php56-mysqli php56-mysql php56-mcrypt php56-mbstring php56-ldap php56-json php56-iconv php56-hash php56-gettext php56-gd php56-ftp php56-filter php56-fileinfo php56-exif php56-dom php56-curl php56-ctype php56-calendar php56-bz2 php56-bcmath
Apr 29 11:25:22 ysul pkg: php56-zlib upgraded: 5.6.4 -> 5.6.8
Apr 29 11:28:38 ysul pkg: xproto upgraded: 7.0.26 -> 7.0.27
Apr 29 11:28:38 ysul pkg: libXau upgraded: 1.0.8_2 -> 1.0.8_3
Apr 29 11:28:38 ysul pkg: libXdmcp upgraded: 1.1.1_2 -> 1.1.2
Apr 29 11:28:43 ysul pkg: libxcb upgraded: 1.11 -> 1.11_1
Apr 29 11:28:43 ysul pkg: libICE upgraded: 1.0.9,1 -> 1.0.9_1,1
Apr 29 11:28:54 ysul pkg: libX11 upgraded: 1.6.2_2,1 -> 1.6.2_3,1
Apr 29 11:28:54 ysul pkg: libSM upgraded: 1.2.2_2,1 -> 1.2.2_3,1
Apr 29 11:28:54 ysul pkg: libXext upgraded: 1.3.3,1 -> 1.3.3_1,1
Apr 29 11:28:55 ysul pkg: libXt upgraded: 1.1.4_2,1 -> 1.1.4_3,1
Apr 29 11:28:55 ysul pkg: libXpm upgraded: 3.5.11_2 -> 3.5.11_3
Apr 29 11:28:56 ysul pkg: php56-xml upgraded: 5.6.4 -> 5.6.8
Apr 29 11:28:56 ysul pkg: php56-session upgraded: 5.6.4 -> 5.6.8
Apr 29 11:28:56 ysul pkg: php56-pdo upgraded: 5.6.4 -> 5.6.8
Apr 29 11:28:56 ysul pkg: php56-mysql upgraded: 5.6.4 -> 5.6.8
Apr 29 11:28:56 ysul pkg: php56-hash upgraded: 5.6.4 -> 5.6.8
Apr 29 11:28:56 ysul pkg: php56-dom upgraded: 5.6.4 -> 5.6.8
Apr 29 11:28:57 ysul pkg: png upgraded: 1.6.16 -> 1.6.17
Apr 29 11:28:57 ysul pkg: libltdl upgraded: 2.4.5 -> 2.4.6
Apr 29 11:29:00 ysul pkg: postgresql93-client upgraded: 9.3.5 -> 9.3.6_1
Apr 29 11:29:00 ysul pkg: php56-zip upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:00 ysul pkg: php56-xmlwriter upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:00 ysul pkg: php56-xmlreader upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:00 ysul pkg: php56-wddx upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:00 ysul pkg: php56-tokenizer upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:01 ysul pkg: php56-tidy upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:01 ysul pkg: php56-sqlite3 upgraded: 5.6.4_1 -> 5.6.8
Apr 29 11:29:01 ysul pkg: php56-sockets upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:01 ysul pkg: php56-soap upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:01 ysul pkg: php56-simplexml upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:01 ysul pkg: php56-posix upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:01 ysul pkg: php56-phar upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:02 ysul pkg: php56-pgsql upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:02 ysul pkg: php56-pdo_sqlite upgraded: 5.6.4_1 -> 5.6.8
Apr 29 11:29:02 ysul pkg: php56-pdo_pgsql upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:02 ysul pkg: php56-pdo_mysql upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:02 ysul pkg: php56-openssl upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:02 ysul pkg: php56-opcache upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:03 ysul pkg: php56-mysqli upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:03 ysul pkg: php56-mcrypt upgraded: 5.6.4_1 -> 5.6.8
Apr 29 11:29:03 ysul pkg: php56-mbstring upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:03 ysul pkg: php56-ldap upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:03 ysul pkg: php56-json upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:04 ysul pkg: php56-iconv upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:04 ysul pkg: php56-gettext upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:04 ysul pkg: php56-gd upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:04 ysul pkg: php56-ftp upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:04 ysul pkg: php56-filter upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:04 ysul pkg: php56-fileinfo upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:05 ysul pkg: php56-exif upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:05 ysul pkg: php56-curl upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:05 ysul pkg: php56-ctype upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:05 ysul pkg: php56-calendar upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:05 ysul pkg: php56-bz2 upgraded: 5.6.4 -> 5.6.8
Apr 29 11:29:05 ysul pkg: php56-bcmath upgraded: 5.6.4 -> 5.6.8
Memcached issue
The extension should be recompiled: /usr/local/lib/php/20131226/memcached.so: Undefined symbol "ps_globals" in Unknown on line 0
$ cd /usr/ports/databases/pecl-memcached $ make config # with SASL support, as required on T351. $ make [...] configure: error: no, libmemcached sasl support is not enabled. Run configure with --disable-memcached-sasl to disable this check [...]
libmemcached has been recompiled with SASL support.
pkg log
Apr 29 11:31:58 ysul pkg-static: pecl-memcached-2.2.0_3 deinstalled
Apr 29 11:34:48 ysul pkg-static: libmemcached-1.0.18 deinstalled
An error occurs recompiling with GCC 4.9 or clang libmemcached, so we'll recompile cyrus-sasl and libevent to be sure all is fine.
libevent and cyrus-sasl recompile
Apr 29 13:19:26 ysul pkg-static: libevent2-2.0.22_1 deinstalled
Apr 29 13:19:29 ysul pkg-static: libevent2-2.0.22_1 installed
Apr 29 13:20:15 ysul pkg-static: cyrus-sasl-2.1.26_8 deinstalled
Apr 29 13:20:17 ysul saslpasswd2: SQL engine 'mysql' not supported
Apr 29 13:20:17 ysul saslpasswd2: auxpropfunc error no mechanism available
Apr 29 13:20:17 ysul saslpasswd2: error deleting entry from sasldb: BDB0073 DB_NOTFOUND: No matching key/data pair found
Apr 29 13:20:17 ysul last message repeated 2 times
Apr 29 13:20:17 ysul sasldblistusers2: SQL engine 'mysql' not supported
Apr 29 13:20:17 ysul sasldblistusers2: auxpropfunc error no mechanism available
Apr 29 13:20:17 ysul saslpasswd2: SQL engine 'mysql' not supported
Apr 29 13:20:17 ysul saslpasswd2: auxpropfunc error no mechanism available
Apr 29 13:20:17 ysul saslpasswd2: error deleting entry from sasldb: BDB0073 DB_NOTFOUND: No matching key/data pair found
Apr 29 13:20:17 ysul last message repeated 2 times
Apr 29 13:20:17 ysul pkg-static: cyrus-sasl-2.1.26_9 installed
cyrus-sasl state is presumed working, but could be investigated in T357.
Apr 29 14:00:09 ysul pkg-static: libmemcached-1.0.18 installed
Apr 29 14:00:45 ysul pkg-static: pecl-memcache-3.0.8 installed
php-fpm-dev/prod restarted.