PHP5.4.13リリース!

PHP5.4.13がリリースされたようです

php公式サイトでは、まだPHP5.4.12の更新情報しか出ていませんが、公式サイト右上のstableが5.4.13に変わっています。更新日時は3月14日。昨日です。stableには入ったけど、まだ公式には通知が来ていない感じでしょうか。

remiレポジトリにも5.4.13が来た

CentOS5.4でも、remiレポジトリに5.4.13-1.el6.remiっていうバージョン番号でパッケージが来ているようです。

sudo yum update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: ftp.riken.jp
 * extras: ftp.iij.ad.jp
 * remi: remi.mirrors.arminco.com
 * remi-test: remi.mirrors.arminco.com
 * updates: ftp.iij.ad.jp
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick-last-libs.x86_64 0:6.7.8.10-1.el6.remi will be updated
---> Package ImageMagick-last-libs.x86_64 0:6.8.3.9-1.el6.remi will be an update
---> Package php.x86_64 0:5.4.12-1.el6.remi will be updated
---> Package php.x86_64 0:5.4.13-1.el6.remi will be an update
---> Package php-bcmath.x86_64 0:5.4.12-1.el6.remi will be updated
---> Package php-bcmath.x86_64 0:5.4.13-1.el6.remi will be an update
---> Package php-cli.x86_64 0:5.4.12-1.el6.remi will be updated
---> Package php-cli.x86_64 0:5.4.13-1.el6.remi will be an update
---> Package php-common.x86_64 0:5.4.12-1.el6.remi will be updated
---> Package php-common.x86_64 0:5.4.13-1.el6.remi will be an update
---> Package php-devel.x86_64 0:5.4.12-1.el6.remi will be updated
---> Package php-devel.x86_64 0:5.4.13-1.el6.remi will be an update
---> Package php-gd.x86_64 0:5.4.12-1.el6.remi will be updated
---> Package php-gd.x86_64 0:5.4.13-1.el6.remi will be an update
---> Package php-mbstring.x86_64 0:5.4.12-1.el6.remi will be updated
---> Package php-mbstring.x86_64 0:5.4.13-1.el6.remi will be an update
---> Package php-mcrypt.x86_64 0:5.4.12-1.el6.remi will be updated
---> Package php-mcrypt.x86_64 0:5.4.13-1.el6.remi will be an update
---> Package php-mysql.x86_64 0:5.4.12-1.el6.remi will be updated
---> Package php-mysql.x86_64 0:5.4.13-1.el6.remi will be an update
---> Package php-pdo.x86_64 0:5.4.12-1.el6.remi will be updated
---> Package php-pdo.x86_64 0:5.4.13-1.el6.remi will be an update
---> Package php-pecl-imagick.x86_64 0:3.1.0-0.4.RC2.el6.remi.1 will be updated
---> Package php-pecl-imagick.x86_64 0:3.1.0-0.8.RC2.el6.remi will be an update
---> Package php-xml.x86_64 0:5.4.12-1.el6.remi will be updated
---> Package php-xml.x86_64 0:5.4.13-1.el6.remi will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================
 Package                                 Arch                     Version                                     Repository              Size
===========================================================================================================================================
Updating:
 ImageMagick-last-libs                   x86_64                   6.8.3.9-1.el6.remi                          remi                   2.0 M
 php                                     x86_64                   5.4.13-1.el6.remi                           remi                   2.7 M
 php-bcmath                              x86_64                   5.4.13-1.el6.remi                           remi                    57 k
 php-cli                                 x86_64                   5.4.13-1.el6.remi                           remi                   2.6 M
 php-common                              x86_64                   5.4.13-1.el6.remi                           remi                   891 k
 php-devel                               x86_64                   5.4.13-1.el6.remi                           remi                   2.5 M
 php-gd                                  x86_64                   5.4.13-1.el6.remi                           remi                   140 k
 php-mbstring                            x86_64                   5.4.13-1.el6.remi                           remi                   942 k
 php-mcrypt                              x86_64                   5.4.13-1.el6.remi                           remi                    48 k
 php-mysql                               x86_64                   5.4.13-1.el6.remi                           remi                   134 k
 php-pdo                                 x86_64                   5.4.13-1.el6.remi                           remi                   117 k
 php-pecl-imagick                        x86_64                   3.1.0-0.8.RC2.el6.remi                      remi                   168 k
 php-xml                                 x86_64                   5.4.13-1.el6.remi                           remi                   168 k

Transaction Summary
===========================================================================================================================================
Upgrade      13 Package(s)

Total size: 12 M
Is this ok [y/N]:

PHP5.4.13の更新内容

バグフィックスが中心のようです。5.4.12に比べてが修正されています。

– Core:
  . Fixed bug #64235 (Insteadof not work for class method in 5.4.11).
    (Laruence)
  . Implemented FR #64175 (Added HTTP codes as of RFC 6585). (Jonh Wendell)
  . Fixed bug #64142 (dval to lval different behavior on ppc64). (Remi)
  . Fixed bug #64070 (Inheritance with Traits failed with error). (Dmitry)

– CLI server:
  . Fixed bug #64128 (buit-in web server is broken on ppc64). (Remi)

– Mbstring:
  . mb_split() can now handle empty matches like preg_split() does. (Moriyoshi)

– OpenSSL:
  . Fixed bug #61930 (openssl corrupts ssl key resource when using
    openssl_get_publickey()). (Stas)

– PDO_mysql:
  . Fixed bug #60840 (undefined symbol: mysqlnd_debug_std_no_trace_funcs).
    (Johannes)

– Phar:
  . Fixed timestamp update on Phar contents modification. (Dmitry)

– SOAP
  . Added check that soap.wsdl_cache_dir conforms to open_basedir
    (CVE-2013-1635). (Dmitry)
  . Disabled external entities loading (CVE-2013-1643). (Dmitry)

– SPL:
  . Fixed bug #64264 (SPLFixedArray toArray problem). (Laruence)
  . Fixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS).
    (patch by kriss@krizalys.com, Laruence)
  . Fixed bug #64106 (Segfault on SplFixedArray[][x] = y when extended).
    (Nikita Popov)
  . Fixed bug #52861 (unset fails with ArrayObject and deep arrays).
    (Mike Willbanks)

– SNMP:
  . Fixed bug #64124 (IPv6 malformed). (Boris Lytochkin)

MySQL5.6.10を入れている人は要注意

MySQL5.6.10をMySQL公式サイトからダウンロードしてインストールしているCentOSな人は要注意です。php-mysqlを更新しようとすると以下のエラーが出ます。

Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
libmysqlclient.so.18(libmysqlclient_16)(64bit) is needed by php-mysql-5.4.13-1.el6.remi.x86_64
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
php-mysql-5.4.12-1.el6.remi.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_16)(64bit)
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2013-03-15-19-03xxa7NL.yumtx

シンボリックリンクを変えたり色々試したのですが、現状、MySQL公式サイトから落としたMySQL5.6とPHP5.4.13を共存させるには、PHPをソースからコンパイルしてインストールか、checkinstallでRPM化してインストールしか手が無いようです。

自宅サーバーの導入しました

とりあえず自宅サーバーにPHP5.4.13を導入しました。RPM化は少々お待ちをー。