{"id":5439,"date":"2014-08-11T03:32:58","date_gmt":"2014-08-10T18:32:58","guid":{"rendered":"http:\/\/www.webcyou.com\/?p=5439"},"modified":"2020-03-20T18:08:34","modified_gmt":"2020-03-20T09:08:34","slug":"%e3%80%90centos6%e3%80%91-php5-3%e3%81%8b%e3%82%89php5-5%e3%81%ab%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%82%a2%e3%83%83%e3%83%97%e3%81%97%e3%81%be%e3%81%97%e3%81%9f","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=5439","title":{"rendered":"\u3010CentOS6\u3011 PHP5.3\u304b\u3089PHP5.5\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u307e\u3057\u305f"},"content":{"rendered":"<p>\u524d\u56de\u3001<\/p>\n<h3><a href=\"https:\/\/www.webcyou.com\/?p=5425\">\u4eba\u6c17\u6025\u4e0a\u6607\uff01PHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u300cLaravel\u300d\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u301c \u8d77\u52d5\u307e\u3067\u3002<\/a><\/h3>\n<p>\u3067\u3001Laravel\u3092\u4f7f\u3063\u3066\u69cb\u7bc9\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001mamp\u3067\u78ba\u8a8d\u3057\u3066\u3044\u305f\u306e\u3067\u554f\u984c\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001Vagrant\u74b0\u5883\u3067\u78ba\u8a8d\u3059\u308b\u3068\u3053\u308d\u3001\u300c\u3042\u308c\u8868\u793a\u3057\u306a\u3044\u3002\u300d<\/p>\n<p>artisan\u30b3\u30de\u30f3\u30c9\u3082\u4f7f\u3048\u306a\u3044\u3067\u306f\u306a\u3044\u304b\u3002\u3002<\/p>\n<p>\u8abf\u3079\u305f\u3068\u3053\u308d\u3069\u3046\u3084\u3089PHP5.4\u301c\u5229\u7528\u3067\u304d\u308b\u3060\u306e\u51fa\u6765\u306a\u3044\u3060\u306e\u3002<\/p>\n<p>\u3067\u3001Vagrant\u306ephp\u3092\u8abf\u3079\u308b\u3068php 5.3\u3068\u306e\u4e8b\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u3079\u3057\uff01<\/p>\n<p>&nbsp;<\/p>\n<p>\u3053\u3061\u3089\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u9802\u304d\u307e\u3057\u305f\u3002<br \/>\n\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002mm<\/p>\n<p><a href=\"http:\/\/blog.ybbo.net\/2014\/01\/24\/\u3010\u30b7\u30f3\u30d7\u30eb\u3011centos5\u306bphp5-4\u3092yum\u3067\u7c21\u5358\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\/\" target=\"_blank\" rel=\"noopener\">http:\/\/blog.ybbo.net\/2014\/01\/24\/\u3010\u30b7\u30f3\u30d7\u30eb\u3011centos5\u306bphp5-4\u3092yum\u3067\u7c21\u5358\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\/<\/a><\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001yum\u3092\u6700\u65b0\u306b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">sudo yum -y update<\/pre>\n<p><strong>php\u306e\u78ba\u8a8d<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">rpm -qa | grep php<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">php-cli-5.3.3-23.el6_4.x86_64\r\nphp-mbstring-5.3.3-23.el6_4.x86_64\r\nphp-mysql-5.3.3-23.el6_4.x86_64\r\nphp-common-5.3.3-23.el6_4.x86_64\r\nphp-5.3.3-23.el6_4.x86_64\r\nphp-pdo-5.3.3-23.el6_4.x86_64<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3042\u308a\u307e\u3057\u305f\u304c\u3001\u76ee\u3092\u3064\u3076\u3063\u3066\u524a\u9664\uff01\uff01<\/p>\n<p><strong>PHP\u524a\u9664<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">yum remove php*<\/pre>\n<p>&nbsp;<\/p>\n<h4>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8ffd\u52a0<\/h4>\n<p>\u3069\u3046\u3084\u3089\u3001yum\u306b\u300cepel\u300d \u3068\u300cremi\u300d\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3059\u308b\u3068\u826f\u3044\u3089\u3057\u3044\u306e\u3067\u3001<\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u8ffd\u52a0\u3002<\/p>\n<p><strong>\u300cepel\u300d<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">rpm -ivh\u00a0 http:\/\/ftp-srv2.kddilabs.jp\/Linux\/distributions\/fedora\/epel\/5\/x86_64\/epel-release-5-4.noarch.rpm<\/pre>\n<p><strong>\u300c\u00a0remi\u300d<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">rpm -ivh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-5.rpm<\/pre>\n<p>\u3067\u3001php\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">yum install php --enablerepo=remi<\/pre>\n<p>\u304a\u6c7a\u307e\u308a\u306e\u69d8\u306betc\/php.ini\u3092\u7de8\u96c6\u3002<\/p>\n<p>mbstring \u5468\u308a\u3092\u4fee\u6b63\u3057\u3066\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57\u5217\u3092\u4f7f\u7528\u51fa\u6765\u308b\u3088\u3046\u306b\u4fee\u6b63\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">mbstring.language = Japanese\r\nmbstring.internal_encoding = UTF-8\r\nmbstring.encoding_translation = On\r\nmbstring.func_overload = 0\r\nmbstring.http_input = pass\r\nmbstring.http_output = pass\r\nmbstring.detect_order = UTF-8,SJIS,EUC-JP,JIS,ASCII\r\nmbstring.substitute_character = none;\r\nextension=php_mysql.dll\r\nextension=php_mbstring.dll<\/pre>\n<p>\u3068\u3001\u7de8\u96c6\u3002<\/p>\n<p>\u3067\u3001\u5b8c\u4e86\u3068\u601d\u3044\u304d\u3084\u3001mbstring\u7b49\u3092\u5168\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u306a\u3044\u3053\u3068\u306b\u6c17\u3065\u304d\u3001<\/p>\n<p>\u307e\u305f\u3001\u601d\u3044\u5207\u3063\u3066\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">sudo yum -y install --enablerepo=remi,remi-php55 php php-opcache php-devel php-mbstring php-mcrypt php-mysql php-phpunit-PHPUnit php-pecl-xdebug php-cli php-common<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u53e9\u3044\u305f\u3068\u3053\u308d\u3001remi-php55\u3082\u542b\u307e\u308c\u3066\u3044\u307e\u3057\u305f\u306e\u3067\u3001php5.5\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\uff08\u7b11\uff09<\/p>\n<p>\u3053\u306e\u8fba\u3082\u53c2\u8003\u306b\u3055\u305b\u3066\u9802\u304d\u307e\u3057\u305f\u3002<br \/>\n\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002mm<\/p>\n<p><a href=\"http:\/\/qiita.com\/wakaba260\/items\/9b06c4d64239a2b0bd48\" target=\"_blank\" rel=\"noopener\">http:\/\/qiita.com\/wakaba260\/items\/9b06c4d64239a2b0bd48<\/a><\/p>\n<p>\u4e0a\u8a18\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30d1\u30b9\u304c\u9055\u3046\u306e\u3067\u3059\u304c\u3001\uff08\u4ee5\u4e0b\u8a18\u8f09\uff09<\/p>\n<p>\u3053\u3061\u3089\u306e\u65b9\u304c\u3088\u3044\u306e\u304b\u306a\u3002\u3002<\/p>\n<p><strong>rpmforge\u30ea\u30dd\u30b8\u30c8\u30ea\u8ffd\u52a0<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">sudo yum -y install http:\/\/pkgs.repoforge.org\/rpmforge-release\/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">sudo sed -i -e \"s\/enabled = 1\/enabled = 0\/g\" \/etc\/yum.repos.d\/rpmforge.repo<\/pre>\n<p><strong>epel\u30ea\u30dd\u30b8\u30c8\u30ea\u8ffd\u52a0<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">sudo rpm -Uvh http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/x86_64\/epel-release-6-8.noarch.rpm<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">sudo sed -i -e \"s\/enabled = 1\/enabled = 0\/g\" \/etc\/yum.repos.d\/epel.repo<\/pre>\n<p><strong>remi\u30ea\u30dd\u30b8\u30c8\u30ea\u8ffd\u52a0<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">sudo rpm -Uvh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-6.rpm<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">sudo sed -i -e \"s\/enabled = 1\/enabled = 0\/g\" \/etc\/yum.repos.d\/remi.repo<\/pre>\n<p><strong>\u30ea\u30dd\u30b8\u30c8\u30ea\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">sudo yum -y update --enablerepo=rpmforge,epel,remi,remi-php55<\/pre>\n<p>\u3068\u308a\u3042\u3048\u305a\u306f vagrant\u74b0\u5883\u3067\u3082Laravel\u304c\u7121\u4e8b\u78ba\u8a8d\u51fa\u6765\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/5364f1f2d4d8e870925717dbca240cd1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5440\" title=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2014-08-11 2.50.03\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/5364f1f2d4d8e870925717dbca240cd1.png\" width=\"269\" height=\"264\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/5364f1f2d4d8e870925717dbca240cd1.png 336w, https:\/\/www.webcyou.com\/wp-content\/uploads\/5364f1f2d4d8e870925717dbca240cd1-300x294.png 300w\" sizes=\"auto, (max-width: 269px) 100vw, 269px\" \/><\/a><\/p>\n<p>\u6b21\u56de\u306f\u8272\u3005\u6271\u3063\u3066\u3044\u3053\u3046\u304b\u3068\u601d\u3044\u307e\u3059\u30fc\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u3001 \u4eba\u6c17\u6025\u4e0a\u6607\uff01PHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u300cLaravel\u300d\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u301c \u8d77\u52d5\u307e\u3067\u3002 \u3067\u3001Laravel\u3092\u4f7f\u3063\u3066\u69cb\u7bc9\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001mamp\u3067\u78ba\u8a8d\u3057\u3066\u3044\u305f\u306e\u3067\u554f\u984c\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001Vagrant\u74b0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[107,180,173,58,150,44,45,111,178,78,118],"class_list":{"0":"post-5439","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-php","7":"tag-mamp","8":"tag-mysql","9":"tag-php","10":"tag-sdk","11":"tag-vagrant","12":"tag-web","14":"tag-wordpress-2","15":"tag-178","16":"tag-78","17":"tag-118"},"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/5439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5439"}],"version-history":[{"count":3,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/5439\/revisions"}],"predecessor-version":[{"id":10189,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/5439\/revisions\/10189"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5439"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}