Red Hat Enterprise Linux Server release 6.8に開発サブスクリプションを登録してphp 5.3からphp 5.4にアップグレードしました。
開発サブスクリプションで利用できるrhel-server-rhscl-6-rpms repoでphp 5.4関連の拡張機能をインストールしてみました。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# yum search all php54 Loaded plugins: product-id, search-disabled-repos, security, subscription-manager ============================================ Matched: php54 ============================================= php54.x86_64 : Package that installs php54 php54-runtime.x86_64 : Package that handles php54 Software Collection. php54-scldevel.x86_64 : Package shipping development files for php54 php54-php.x86_64 : PHP scripting language for creating dynamic web sites php54-php-bcmath.x86_64 : A module for PHP applications for using the bcmath library php54-php-cli.x86_64 : Command-line interface for PHP php54-php-common.x86_64 : Common files for PHP php54-php-dba.x86_64 : A database abstraction layer module for PHP applications php54-php-devel.x86_64 : Files needed for building PHP extensions php54-php-enchant.x86_64 : Enchant spelling extension for PHP applications php54-php-gd.x86_64 : A module for PHP applications for using the gd graphics library php54-php-imap.x86_64 : A module for PHP applications that use IMAP php54-php-intl.x86_64 : Internationalization extension for PHP applications php54-php-ldap.x86_64 : A module for PHP applications that use LDAP php54-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling php54-php-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases php54-php-odbc.x86_64 : A module for PHP applications that use ODBC databases php54-php-pdo.x86_64 : A database access abstraction module for PHP applications php54-php-pgsql.x86_64 : A PostgreSQL database module for PHP php54-php-process.x86_64 : Modules for PHP script using system process interfaces php54-php-pspell.x86_64 : A module for PHP applications for using pspell interfaces php54-php-recode.x86_64 : A module for PHP applications for using the recode library php54-php-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices php54-php-soap.x86_64 : A module for PHP applications that use the SOAP protocol php54-php-tidy.x86_64 : Standard PHP module provides tidy library support php54-php-xml.x86_64 : A module for PHP applications which use XML php54-php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC protocol php54-apc-panel.noarch : APC control panel php54-php-fpm.x86_64 : PHP FastCGI Process Manager php54-php-pear.noarch : PHP Extension and Application Repository framework php54-php-pecl-apc.x86_64 : APC caches and optimizes PHP intermediate code php54-php-pecl-apc-devel.x86_64 : APC developer files (header) php54-php-pecl-memcache.x86_64 : Extension to work with the Memcached caching daemon php54-php-pecl-zendopcache.x86_64 : The Zend OPcache |
- php54-php-mbstring
- php54-php-mysqlnd
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# yum info php54-php-mbstring Loaded plugins: product-id, search-disabled-repos, security, subscription-manager Available Packages Name : php54-php-mbstring Arch : x86_64 Version : 5.4.40 Release : 4.el6 Size : 492 k Repo : rhel-server-rhscl-6-rpms Summary : A module for PHP applications which need multi-byte string handling URL : http://www.php.net/ License : PHP and LGPLv2 and BSD and OpenLDAP Description : The php54-php-mbstring package contains a dynamic shared object that will add : support for multi-byte string handling to PHP. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# yum -y install php54-php-mbstring Loaded plugins: product-id, search-disabled-repos, security, subscription-manager Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package php54-php-mbstring.x86_64 0:5.4.40-4.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================= Package Arch Version Repository Size ========================================================================================================= Installing: php54-php-mbstring x86_64 5.4.40-4.el6 rhel-server-rhscl-6-rpms 492 k Transaction Summary ========================================================================================================= Install 1 Package(s) Total download size: 492 k Installed size: 1.3 M Downloading Packages: php54-php-mbstring-5.4.40-4.el6.x86_64.rpm | 492 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : php54-php-mbstring-5.4.40-4.el6.x86_64 1/1 Verifying : php54-php-mbstring-5.4.40-4.el6.x86_64 1/1 Installed: php54-php-mbstring.x86_64 0:5.4.40-4.el6 Complete! |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# php -i | grep mbstring /opt/rh/php54/root/etc/php.d/mbstring.ini, Zend Multibyte Support => provided by mbstring mbstring mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml) mbstring.internal_encoding => no value => no value mbstring.language => neutral => neutral mbstring.strict_detection => Off => Off mbstring.substitute_character => no value => no value |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# yum info php54-php-mysqlnd Loaded plugins: product-id, search-disabled-repos, security, subscription-manager Available Packages Name : php54-php-mysqlnd Arch : x86_64 Version : 5.4.40 Release : 4.el6 Size : 1.8 M Repo : rhel-server-rhscl-6-rpms Summary : A module for PHP applications that use MySQL databases URL : http://www.php.net/ License : PHP Description : The php54-php-mysqlnd package contains a dynamic shared object that will add : MySQL database support to PHP. MySQL is an object-relational database : management system. PHP is an HTML-embeddable scripting language. If : you need MySQL support for PHP applications, you will need to install : this package and the php package. : : This package use the MySQL Native Driver |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# yum -y install php54-php-mysqlnd Loaded plugins: product-id, search-disabled-repos, security, subscription-manager Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package php54-php-mysqlnd.x86_64 0:5.4.40-4.el6 will be installed --> Processing Dependency: php54-php-pdo(x86-64) = 5.4.40-4.el6 for package: php54-php-mysqlnd-5.4.40-4.el6.x86_64 --> Running transaction check ---> Package php54-php-pdo.x86_64 0:5.4.40-4.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ========================================================================================================= Package Arch Version Repository Size ========================================================================================================= Installing: php54-php-mysqlnd x86_64 5.4.40-4.el6 rhel-server-rhscl-6-rpms 1.8 M Installing for dependencies: php54-php-pdo x86_64 5.4.40-4.el6 rhel-server-rhscl-6-rpms 86 k Transaction Summary ========================================================================================================= Install 2 Package(s) Total download size: 1.9 M Installed size: 2.6 M Downloading Packages: (1/2): php54-php-mysqlnd-5.4.40-4.el6.x86_64.rpm | 1.8 MB 00:01 (2/2): php54-php-pdo-5.4.40-4.el6.x86_64.rpm | 86 kB 00:00 --------------------------------------------------------------------------------------------------------- Total 513 kB/s | 1.9 MB 00:03 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : php54-php-pdo-5.4.40-4.el6.x86_64 1/2 Installing : php54-php-mysqlnd-5.4.40-4.el6.x86_64 2/2 Verifying : php54-php-pdo-5.4.40-4.el6.x86_64 1/2 Verifying : php54-php-mysqlnd-5.4.40-4.el6.x86_64 2/2 Installed: php54-php-mysqlnd.x86_64 0:5.4.40-4.el6 Dependency Installed: php54-php-pdo.x86_64 0:5.4.40-4.el6 Complete! |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# php -i | grep mysql /opt/rh/php54/root/etc/php.d/mysqlnd.ini, /opt/rh/php54/root/etc/php.d/mysqlnd_mysql.ini, /opt/rh/php54/root/etc/php.d/mysqlnd_mysqli.ini, /opt/rh/php54/root/etc/php.d/pdo_mysqlnd.ini, mysql Client API version => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $ mysql.allow_local_infile => On => On mysql.allow_persistent => On => On mysql.connect_timeout => 60 => 60 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off mysqli Client API library version => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $ mysqli.allow_local_infile => On => On mysqli.allow_persistent => On => On mysqli.default_host => no value => no value mysqli.default_port => 3306 => 3306 mysqli.default_pw => no value => no value mysqli.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock mysqli.default_user => no value => no value mysqli.max_links => Unlimited => Unlimited mysqli.max_persistent => Unlimited => Unlimited mysqli.reconnect => Off => Off mysqlnd mysqlnd => enabled Version => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $ Loaded plugins => mysqlnd,example,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password API Extensions => mysql,mysqli,pdo_mysql mysqlnd statistics => PDO drivers => mysql, sqlite pdo_mysql Client API version => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $ pdo_mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock |