{"id":308,"date":"2010-02-28T19:08:19","date_gmt":"2010-02-28T19:08:19","guid":{"rendered":""},"modified":"2013-02-07T12:10:28","modified_gmt":"2013-02-07T04:10:28","slug":"centos%e6%b7%bb%e5%8a%a0yum%e5%ae%98%e6%96%b9repo%e6%ba%90%ef%bc%8c%e5%8d%87%e7%ba%a7php5-2-x","status":"publish","type":"post","link":"https:\/\/ybzx.vip\/wp\/?p=308","title":{"rendered":"centos\u6dfb\u52a0yum\u5b98\u65b9repo\u6e90\uff0c\u5347\u7ea7php5.2.x"},"content":{"rendered":"<p>CentOS\u4e3ayum\u6dfb\u52a0\u5b98\u65b9\u6e90<br \/>\u7531\u4e8ecentos5.4\u5b89\u88c5\u597d\u540e\u901a\u8fc7yum\u6765\u5b89\u88c5php\u7684\u7248\u672c\u662f5.1.6,\u73b0\u5728\u5f88\u591a\u7ad9\u70b9\u90fd\u662f\u57285.2.x\u4e0a\u5f00\u53d1\u7684\uff0c\u6240\u4ee5\u6211\u4eec\u8981\u6dfb\u52a0\u5176\u4ed6\u7684yum repo <br \/>\u6765\u5b89\u88c5Php5.2.x\u7684\u7248\u672c\uff0c\u6d4b\u8bd5\u4e86\u51e0\u4e2a\u975e\u5b98\u65b9\u7684repo\u4ed3\u5e93\uff0c\u611f\u89c9\u4ee3\u7801\u90fd\u4e0d\u662f\u5f88\u7a33\u5b9a\uff0cphp\u7248\u672c\u4e5f\u968f\u65f6\u5728\u5347\u7ea7\u3002\u627e\u4e86\u5f88\u4e45\uff0c\u53d1\u73b0centos <br \/>\u5b98\u65b9\u7684\u4e00\u4e2atest repo\u91cc\u9762\u6709php5.2.x,\u5b89\u88c5centos\u5b98\u65b9\u7684rpm\u6bd4\u8f83\u653e\u5fc3 <\/p>\n<p>1.\u6dfb\u52a0yum repo php5.2.x <\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">vi \/etc\/yum.repos.d\/CentOS-Testing.repo \r\n&#x5B;c5-testing] \r\nname=CentOS-5 Testing \r\nbaseurl=http:\/\/dev.centos.org\/centos\/$releasever\/testing\/$basearch\/ \r\nenabled=1 \r\ngpgcheck=1 \r\ngpgkey=http:\/\/dev.centos.org\/centos\/RPM-GPG-KEY-CentOS-testing \r\npriority=1 <\/pre>\n<p>2.\u5b89\u88c5 <\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">yum upgrade php<\/pre>\n<p>\u5b8c\u6210\uff01<\/p>\n<p>\u8f6c\u8f7d\u81ea\uff1ahttp:\/\/www.gaojinbo.com\/centos-yum-php5-2-x-repo%E5%AE%89%E8%A3%85%E6%96%B9%E6%B3%95.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS\u4e3ayum\u6dfb\u52a0\u5b98\u65b9\u6e90\u7531\u4e8ecentos5.4\u5b89\u88c5\u597d\u540e\u901a\u8fc7yum\u6765\u5b89\u88c5php\u7684\u7248\u672c\u662f5.1.6,\u73b0\u5728\u5f88\u591a &hellip; <a href=\"https:\/\/ybzx.vip\/wp\/?p=308\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">centos\u6dfb\u52a0yum\u5b98\u65b9repo\u6e90\uff0c\u5347\u7ea7php5.2.x<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,117],"tags":[79,78],"class_list":["post-308","post","type-post","status-publish","format-standard","hentry","category-travel","category-network","tag-centos","tag-linux"],"_links":{"self":[{"href":"https:\/\/ybzx.vip\/wp\/index.php?rest_route=\/wp\/v2\/posts\/308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ybzx.vip\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ybzx.vip\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ybzx.vip\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ybzx.vip\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=308"}],"version-history":[{"count":0,"href":"https:\/\/ybzx.vip\/wp\/index.php?rest_route=\/wp\/v2\/posts\/308\/revisions"}],"wp:attachment":[{"href":"https:\/\/ybzx.vip\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ybzx.vip\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ybzx.vip\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}