CentOS 5ç³»(RedHat Enterprise Linux 5ç³»)ã§ãµãã¼ãããã¦ããPHPã®ãã¼ã¸ã§ã³ã¯5.1ç³»ã
æè¿ã®ã½ããã¦ã§ã¢ã§ã®å¯¾å¿ç¶æ³ãZend Engineã®ããã©ã¼ãã³ã¹åä¸ãæèããPHPã®ææ°ç(å°ãªãã¨ã5.2.xç³»)ã使ããããªã£ããããã¼ã¸ã§ã³ã¢ãããããã¨ã«ããã
ã§ãããã¨ãªããyumã§ã®ããã±ã¼ã¸ç®¡çã®æ©æµãåãããã®ã§ããLes RPM de Remiãã§å
¬éããã¦ããRPMãªãã¸ããªãç»é²ããPHP(ãMySQL)ã®ææ°çãå°å
¥ãããã¨ã«ããã
Les RPM de Remiã®ãªãã¸ããªç»é²
以ä¸ãå®è¡ããã ãã
# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
PHPã®ãã¼ã¸ã§ã³ã¢ãã(rpmã§5.1=>5.3)
ç»é²ãããªãã¸ããªãæå¹ã«ããæãã§ã¤ã³ã¹ãã¼ã«ããã
# yum --enablerepo=remi install php
before
# php -v PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
after
# php -v PHP 5.3.2 (cli) (built: Mar 4 2010 21:52:46) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
ãã¾ã: MySQLã®ãã¼ã¸ã§ã³ã¢ãã(rpmã§5.0=>5.1)
MySQLãä¸è¨ã®PHPã¨åæ§ãªæãã§ã
# yum --enablerepo=remi install mysql
before
# mysql --version mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1
after
# mysql --version mysql Ver 14.14 Distrib 5.1.47, for redhat-linux-gnu (i686) using readline 5.1