{"id":1852,"date":"2020-09-03T04:12:57","date_gmt":"2020-09-02T20:12:57","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=1852"},"modified":"2020-09-03T04:15:06","modified_gmt":"2020-09-02T20:15:06","slug":"linux-%e4%b8%8b%e5%a6%82%e4%bd%95%e7%bc%96%e8%af%91%e6%9c%80%e6%96%b0%e7%9a%84phalcon","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/1852","title":{"rendered":"linux \u4e0b\u5982\u4f55\u7f16\u8bd1\u6700\u65b0\u7684phalcon"},"content":{"rendered":"\n

\u641c\u7d22\u5230\u4e00\u4e2a\u6587\u7ae0\uff0c\u867d\u7136\u6ca1\u5f04\u61c2\u90fd\u662f\u4ec0\u4e48\u610f\u601d\uff0c\u4f46\u603b\u4e4b\u662f\u641e\u5b9a\u4e86\u3002\u5c31\u5148\u8fd9\u4e48\u8bb0\u5427\u3002<\/p>\n\n\n\n

\u5148\u5728github\u4e0b\uff0c\u901a\u8fc7tag\u6807\u7b7e\uff0c\u627e\u5230\u6700\u65b0\u7684\u7248\u672c\uff0c\u5f53\u7136\u8981\u548c\u81ea\u5df1\u7684php\u7248\u672c\u543b\u5408\uff0c\u67e5\u770btar.gz\u7684\u4e0b\u8f7d\u5730\u5740\uff0c\u590d\u5236\uff0c\u767b\u9646linux\uff0c\u521b\u5efa\u4e00\u4e2aphalcon\u6587\u4ef6\u5939\uff0c\u4e0b\u8f7d<\/p>\n\n\n\n

wget https:\/\/github.com\/phalcon\/cphalcon\/archive\/v4.0.6.tar.gz<\/pre>\n\n\n\n

\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u89e3\u538b<\/p>\n\n\n\n

tar -zxvf  v4.0.6.tar.gz 
<\/pre>\n\n\n\n

\u7136\u540ecd\u5230\u6587\u4ef6\u5939\u7684 cphalcon-4.0.6\/build\/php7\/64bits \u8def\u5f84\u4e0b\uff0c\u6267\u884c\u547d\u4ee4\uff08\u8fd9\u4e2a\u547d\u4ee4\u6211\u4e5f\u4e0d\u592a\u61c2\u662f\u4ec0\u4e48\u610f\u601d\uff09\uff1a<\/p>\n\n\n\n

\/usr\/local\/php\/bin\/phpize<\/pre>\n\n\n\n

\u6267\u884c\u5b8c\u4e86\u5c31\u7f16\u8bd1<\/p>\n\n\n\n

.\/configure --with-php-config=\/usr\/local\/php\/bin\/php-config


<\/pre>\n\n\n\n
\"\"<\/figure>\n\n\n\n

\u5b89\u88c5<\/p>\n\n\n\n

make && make install

<\/pre>\n\n\n\n

\u6700\u540e reboot \u670d\u52a1\u5668\uff0c\u5e94\u8be5\u5c31\u53ef\u4ee5\u4e86<\/p>\n\n\n\n

\u53c2\u8003\u6587\u7ae0\uff1ahttps:\/\/www.cnblogs.com\/dzc-\/p\/11550854.html
<\/p>\n","protected":false},"excerpt":{"rendered":"

\u641c\u7d22\u5230\u4e00\u4e2a\u6587\u7ae0\uff0c\u867d\u7136\u6ca1\u5f04\u61c2\u90fd\u662f\u4ec0\u4e48\u610f\u601d\uff0c\u4f46\u603b\u4e4b\u662f\u641e\u5b9a\u4e86\u3002\u5c31\u5148\u8fd9\u4e48\u8bb0\u5427\u3002 \u5148\u5728github\u4e0b\uff0c\u901a\u8fc7tag\u6807\u7b7e\uff0c\u627e\u5230\u6700\u65b0\u7684\u7248\u672c\uff0c\u5f53\u7136\u8981\u548c\u81ea\u5df1\u7684php\u7248\u672c\u543b\u5408\uff0c\u67e5\u770btar.gz\u7684\u4e0b\u8f7d\u5730\u5740\uff0c\u590d\u5236\uff0c\u767b\u9646linux\uff0c\u521b\u5efa\u4e00\u4e2aphalcon\u6587\u4ef6\u5939\uff0c\u4e0b\u8f7d wget https:\/\/github.com\/phalcon\/cphalcon\/archive\/v4.0.6.tar.gz \u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u89e3\u538b tar -zxvf v4.0.6.tar.gz \u7136\u540ecd\u5230\u6587\u4ef6\u5939\u7684 cphalcon-4.0.6\/build\/php7\/64bits \u8def\u5f84\u4e0b\uff0c\u6267\u884c\u547d\u4ee4\uff08\u8fd9\u4e2a\u547d\u4ee4\u6211\u4e5f\u4e0d\u592a\u61c2\u662f\u4ec0\u4e48\u610f\u601d\uff09\uff1a \/usr\/local\/php\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1852"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=1852"}],"version-history":[{"count":4,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1852\/revisions"}],"predecessor-version":[{"id":1857,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1852\/revisions\/1857"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=1852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=1852"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=1852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}