{"id":111,"date":"2021-01-15T14:11:56","date_gmt":"2021-01-15T06:11:56","guid":{"rendered":"http:\/\/www.cygzs.net\/?p=111"},"modified":"2021-01-15T14:11:56","modified_gmt":"2021-01-15T06:11:56","slug":"yum%e5%ae%89%e8%a3%85php5-6","status":"publish","type":"post","link":"https:\/\/www.cygzs.net\/?p=111","title":{"rendered":"yum\u5b89\u88c5php5.6"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">yum install -y epel-release<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">centos6 \u7528\u8fd9\u4e2a<br>wget -O \/etc\/yum.repos.d\/epel.repo http:\/\/mirrors.aliyun.com\/repo\/epel-6.repo<br>rpm -Uvh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-6.rpm<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">centos7 \u7528\u8fd9\u4e2a<br>wget -O \/etc\/yum.repos.d\/epel.repo http:\/\/mirrors.aliyun.com\/repo\/epel-7.repo<br>rpm -ivh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>yum install &#8211;enablerepo=remi &#8211;enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">yum install &#8211;enablerepo=remi &#8211;enablerepo=remi-php56 php-fpm php-mysqlnd php-gd php-redis php-pecl-memcache<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">systemctl enable php-fpm<br>systemctl daemon-reload<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">sed -i &#8220;\/pm.max_children =\/c pm.max_children = 500&#8221; \/etc\/php-fpm.d\/www.conf<br>sed -i &#8220;\/date.timezone =\/c date.timezone = Asia\/Shanghai&#8221; \/etc\/php.ini<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">systemctl start php-fpm<\/p>\n","protected":false},"excerpt":{"rendered":"<p>yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64 yum install -y epel-release centos6 \u7528\u8fd9\u4e2awget -&hellip; <a class=\"more-link\" href=\"https:\/\/www.cygzs.net\/?p=111\">(more)<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_owldraft_subtitle":"","footnotes":""},"categories":[8,1],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-centos","category-it"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>yum\u5b89\u88c5php5.6 - \u7433\u6d77\u5bb6\u56ed<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cygzs.net\/?p=111\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"yum\u5b89\u88c5php5.6 - \u7433\u6d77\u5bb6\u56ed\" \/>\n<meta property=\"og:description\" content=\"yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64 yum install -y epel-release centos6 \u7528\u8fd9\u4e2awget -&hellip; (more)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cygzs.net\/?p=111\" \/>\n<meta property=\"og:site_name\" content=\"\u7433\u6d77\u5bb6\u56ed\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-15T06:11:56+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"cy\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cygzs.net\/#website\",\"url\":\"https:\/\/www.cygzs.net\/\",\"name\":\"\\u7433\\u6d77\\u5bb6\\u56ed\",\"description\":\"\\u4e00\\u4e2a\\u4e0d\\u52a1\\u6b63\\u4e1a\\u7684\\u8fd0\\u7ef4\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.cygzs.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cygzs.net\/?p=111#webpage\",\"url\":\"https:\/\/www.cygzs.net\/?p=111\",\"name\":\"yum\\u5b89\\u88c5php5.6 - \\u7433\\u6d77\\u5bb6\\u56ed\",\"isPartOf\":{\"@id\":\"https:\/\/www.cygzs.net\/#website\"},\"datePublished\":\"2021-01-15T06:11:56+00:00\",\"dateModified\":\"2021-01-15T06:11:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.cygzs.net\/#\/schema\/person\/6db5162177413ff7529e7d15140c864a\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.cygzs.net\/?p=111#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cygzs.net\/?p=111\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cygzs.net\/?p=111#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\\u9996\\u9875\",\"item\":\"https:\/\/www.cygzs.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"yum\\u5b89\\u88c5php5.6\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cygzs.net\/#\/schema\/person\/6db5162177413ff7529e7d15140c864a\",\"name\":\"cy\",\"sameAs\":[\"http:\/\/www.cygzs.net\"],\"url\":\"https:\/\/www.cygzs.net\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"yum\u5b89\u88c5php5.6 - \u7433\u6d77\u5bb6\u56ed","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cygzs.net\/?p=111","og_locale":"zh_CN","og_type":"article","og_title":"yum\u5b89\u88c5php5.6 - \u7433\u6d77\u5bb6\u56ed","og_description":"yum remove php.x86_64 php-cli.x86_64 php-common.x86_64 php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-pdo.x86_64 yum install -y epel-release centos6 \u7528\u8fd9\u4e2awget -&hellip; (more)","og_url":"https:\/\/www.cygzs.net\/?p=111","og_site_name":"\u7433\u6d77\u5bb6\u56ed","article_published_time":"2021-01-15T06:11:56+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"cy","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.cygzs.net\/#website","url":"https:\/\/www.cygzs.net\/","name":"\u7433\u6d77\u5bb6\u56ed","description":"\u4e00\u4e2a\u4e0d\u52a1\u6b63\u4e1a\u7684\u8fd0\u7ef4","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cygzs.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"https:\/\/www.cygzs.net\/?p=111#webpage","url":"https:\/\/www.cygzs.net\/?p=111","name":"yum\u5b89\u88c5php5.6 - \u7433\u6d77\u5bb6\u56ed","isPartOf":{"@id":"https:\/\/www.cygzs.net\/#website"},"datePublished":"2021-01-15T06:11:56+00:00","dateModified":"2021-01-15T06:11:56+00:00","author":{"@id":"https:\/\/www.cygzs.net\/#\/schema\/person\/6db5162177413ff7529e7d15140c864a"},"breadcrumb":{"@id":"https:\/\/www.cygzs.net\/?p=111#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cygzs.net\/?p=111"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.cygzs.net\/?p=111#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.cygzs.net\/"},{"@type":"ListItem","position":2,"name":"yum\u5b89\u88c5php5.6"}]},{"@type":"Person","@id":"https:\/\/www.cygzs.net\/#\/schema\/person\/6db5162177413ff7529e7d15140c864a","name":"cy","sameAs":["http:\/\/www.cygzs.net"],"url":"https:\/\/www.cygzs.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=111"}],"version-history":[{"count":1,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":112,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions\/112"}],"wp:attachment":[{"href":"https:\/\/www.cygzs.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cygzs.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}