phpenv + php-buildでPHP7の環境を構築し、Symfony2.8を導入しています。
Symfonyの環境チェックコマンドを使用し、確認すると次のメッセージが表示されました。
$ php app/check.php * intl ICU version installed on your system (50.1.2) should match the ICU data bundled with Symfony (55.1) > In most cases you should be fine, but please verify there is no > inconsistencies between data provided by Symfony and the intl > extension. See https://github.com/symfony/symfony/issues/15007 > for an example of inconsistencies you might run into.
ほとんどの場合、問題はないそうですが、警告メッセージは解消したく。
ICUのバージョンを上げようと思ったのですが、どうやってアップデートすればよいのか調べてもよくわからなかったので質問しました。
また、intl ICUについても、何のためのパッケージなのかいまいち、分かりません。
詳しい方ご教示いただけると嬉しいです。
環境
$ cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) $ phpenv -v phpenv 0.4.0 $ php -v PHP 7.0.6 (cli) (built: May 8 2016 16:47:27) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans $ php app/console --version Symfony version 2.8.5 - app/dev/debug $ php -m | grep intl intl
php-buildオプション
$HOME/.phpenv/plugins/php-build/share/php-build/default_configure_options
$ cat $HOME/.phpenv/plugins/php-build/share/php-build/default_configure_options --without-pear --with-gd --enable-sockets --with-jpeg-dir=/usr --with-png-dir=/usr --enable-exif --enable-zip --with-zlib --with-zlib-dir=/usr --with-kerberos --with-openssl --with-mcrypt=/usr --enable-soap --enable-xmlreader --with-xsl --enable-ftp --enable-cgi --with-curl=/usr --with-tidy --with-xmlrpc --enable-sysvsem --enable-sysvshm --enable-shmop --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-pdo-sqlite --enable-pcntl --with-readline --enable-mbstring --disable-debug --enable-fpm --enable-bcmath --with-apxs2 --enable-intl
ここでintlを有効化しています。
intlのICUのバージョンを指定する方法がわからず、困っております。
php-buildオプション(PHP7.0.6)
$HOME/.phpenv/plugins/php-build/share/php-build/definitions/7.0.6
$ cat $HOME/.phpenv/plugins/php-build/share/php-build/definitions/7.0.6 install_package "https://secure.php.net/distributions/php-7.0.6.tar.bz2" install_xdebug "2.4.0" enable_builtin_opcache --enable-apc --enable-apc-debug --enable-apc-filehits
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/05/08 14:27