{"id":293,"date":"2019-10-28T19:59:11","date_gmt":"2019-10-28T10:59:11","guid":{"rendered":"https:\/\/vicsfactory.com\/?p=293"},"modified":"2019-11-29T02:34:12","modified_gmt":"2019-11-28T17:34:12","slug":"centos7%e3%81%aephp5-4%e3%82%92%e3%83%b4%e3%82%a1%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%82%a2%e3%83%83%e3%83%97","status":"publish","type":"post","link":"https:\/\/vicsfactory.com\/?p=293","title":{"rendered":"CentOS7\u306ePHP5.4\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7"},"content":{"rendered":"\n<p>\u3000<\/p>\n\n\n\n<p>\u73fe\u5728\u3001CentOS7\u306b\u6a19\u6e96\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f5.4\u3067\u3059\u304c\u3001Wordpress\u7b49\u3067\u306fphp5.6\u4ee5\u4e0a\u3067\u306a\u3044\u3068\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>PHP\u81ea\u4f53\u30825.4,5.6,7.0 ,7.1,7.2,7.3\u3068\u30a2\u30c3\u30d7\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u914d\u4fe1\u3055\u308c\u3001wordpress\u3067\u3082\u63a8\u5968\u30d0\u30fc\u30b8\u30e7\u30f3\u306f5.6\u4ee5\u4e0a\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001\u4eca\u5f8c\u306f5\u7cfb\u306f\u6d88\u6ec5\u3057\u3066\u3044\u304f\u3053\u3068\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002\u3061\u3087\u3046\u3069\u3042\u308b\u5ba2\u5148\u3067WEB\u30b5\u30fc\u30d0\u30fc\u306e\u5165\u308c\u66ff\u3048\u3092\u3059\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u306e\u3067\u3001PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30927\u7cfb\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<br><\/p>\n\n\n\n<p>\u30fbepel\u3068remi\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># yum install epel-release<br><br># rpm -Uvh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm<\/pre>\n\n\n\n<p>\u30fb\u73fe\u5728\u306ePHP\u3092\u5168\u3066\u524a\u9664<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># yum remove php-*<\/pre>\n\n\n\n<p>\u30fb\u65b0\u3057\u3044PHP\u3068\u95a2\u9023\u30d1\u30c3\u30b1\u30fc\u30b8\uff08\u4e0b\u8a18\u306f\u4f8b\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n\n\n\n<p>PHP5.6\u7cfb<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># yum install --disablerepo=* --enablerepo=epel,remi,remi-safe,remi-php56 php php-mbstring php-mysql php-gd<\/pre>\n\n\n\n<p>PHP7.0\u7cfb<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># yum install --disablerepo=* --enablerepo=epel,remi,remi-safe,remi-php70 php php-mbstring php-mysql php-gd<\/pre>\n\n\n\n<p>PHP7.1\u7cfb<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># yum install --disablerepo=* --enablerepo=epel,remi,remi-safe,remi-php71 php php-mbstring php-mysql php-gd<\/pre>\n\n\n\n<p>PHP7.2\u7cfb<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># yum install --disablerepo=* --enablerepo=epel,remi,remi-safe,remi-php72 php php-mbstring php-mysql php-gd<\/pre>\n\n\n\n<p>PHP7.3\u7cfb<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># yum install --disablerepo=* --enablerepo=epel,remi,remi-safe,remi-php73 php php-mbstring php-mysql php-gd<\/pre>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u3001php.ini\u3092\u7de8\u96c6\u3057\u3001HTTPD\u3092\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u5b8c\u4e86\u3002<\/p>\n\n\n\n<p>\u30fbphp-xml\u3092\u8ffd\u52a0\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u304d\uff08\u4f8b\uff1aphp70\u306b\u8ffd\u52a0\uff09<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># yum install --disablerepo=* --enablerepo=remi-php70 php-xml<\/pre>\n\n\n\n<p>\u30fbphpMyAdmin\u3092\u8ffd\u52a0\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u304d\uff08\u4f8b\uff1aphp70\u306b\u8ffd\u52a0\uff09 <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># yum install --disablerepo=* --enablerepo=epel,remi-php70 phpMyAdmin<\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000 \u73fe\u5728\u3001CentOS7\u306b\u6a19\u6e96\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f5.4\u3067\u3059\u304c\u3001Wordpress\u7b49\u3067\u306fphp5.6\u4ee5\u4e0a\u3067\u306a\u3044\u3068\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u306a\u3044\u3088\u3046\u3067\u3059\u3002 PHP\u81ea\u4f53\u30825.4,5.6,7.0 ,7.1,7.2,7.3 &hellip; <a href=\"https:\/\/vicsfactory.com\/?p=293\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/vicsfactory.com\/index.php?rest_route=\/wp\/v2\/posts\/293"}],"collection":[{"href":"https:\/\/vicsfactory.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vicsfactory.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vicsfactory.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vicsfactory.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=293"}],"version-history":[{"count":7,"href":"https:\/\/vicsfactory.com\/index.php?rest_route=\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":320,"href":"https:\/\/vicsfactory.com\/index.php?rest_route=\/wp\/v2\/posts\/293\/revisions\/320"}],"wp:attachment":[{"href":"https:\/\/vicsfactory.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vicsfactory.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vicsfactory.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}