{"id":85,"date":"2021-05-29T21:33:25","date_gmt":"2021-05-29T13:33:25","guid":{"rendered":"https:\/\/test.7b2.com\/document\/85.html"},"modified":"2021-05-29T21:33:25","modified_gmt":"2021-05-29T13:33:25","slug":"unix-%e7%b3%bb%e7%bb%9f%e4%b8%8b%e7%9a%84%e5%ae%89%e8%a3%85","status":"publish","type":"document","link":"https:\/\/ail.icu\/document\/85","title":{"rendered":"Unix \u7cfb\u7edf\u4e0b\u7684\u5b89\u88c5"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u672c\u8282\u5c06\u6307\u5bfc\u5982\u4f55\u5728 Unix \u7cfb\u7edf\u4e0b\u5b89\u88c5\u548c\u914d\u7f6e PHP\u3002\u5728\u5f00\u59cb\u5b89\u88c5\u4e4b\u524d\uff0c\u8bf7\u52a1\u5fc5\u7814\u7a76\u81ea\u5df1\u4f7f\u7528\u7684\u7cfb\u7edf\u548c web \u670d\u52a1\u5668\u7684\u76f8\u5173\u7ae0\u8282\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u5b89\u88c5\u524d\u9700\u8981\u8003\u8651\u7684\u4e8b\u9879\u4e00\u8282\u63d0\u5230\uff0c\u5728\u672c\u8282\u4e3b\u8981\u4ee5 web \u4e3a\u4e2d\u5fc3\u4ecb\u7ecd PHP \u7684\u8bbe\u7f6e\u3002\u4e0d\u8fc7\u672c\u8282\u4e5f\u4f1a\u8986\u76d6\u4e00\u4e9b PHP \u547d\u4ee4\u884c\u7528\u6cd5\u7684\u8bbe\u7f6e\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 Unix \u5e73\u53f0\u4e0b\u5b89\u88c5 PHP \u6709\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528\u914d\u7f6e\u548c\u7f16\u8bd1\u8fc7\u7a0b\uff0c\u6216\u662f\u4f7f\u7528\u5404\u79cd\u9884\u7f16\u8bd1\u7684\u5305\u3002\u672c\u6587\u4e3b\u8981\u9488\u5bf9\u914d\u7f6e\u548c\u7f16\u8bd1 PHP \u7684\u8fc7\u7a0b\u3002\u5f88\u591a Unix \u7c7b\u7cfb\u7edf\u90fd\u6709\u5305\u5b89\u88c5\u7cfb\u7edf\uff0c\u53ef\u4ee5\u7528\u5b83\u6765\u8bbe\u7f6e\u4e00\u4e2a\u6709\u7740\u6807\u51c6\u914d\u7f6e\u7684 PHP\u3002\u4f46\u662f\u82e5\u9700\u8981\u4e0e\u6807\u51c6\u914d\u7f6e\u4e0d\u540c\u7684\u529f\u80fd\uff08\u4f8b\u5982\u4e00\u4e2a\u5b89\u5168\u670d\u52a1\u5668\uff0c\u6216\u8005\u4e0d\u540c\u7684\u6570\u636e\u5e93\u9a71\u52a8\u6269\u5c55\u6a21\u5757\uff09\uff0c\u53ef\u80fd\u9700\u8981\u7f16\u8bd1 PHP \u548c\uff0f\u6216 web \u670d\u52a1\u5668\u3002\u5982\u679c\u4e0d\u719f\u6089\u7f16\u8bd1\u8f6f\u4ef6\uff0c\u53ef\u4ee5\u8003\u8651\u641c\u7d22\u4e00\u4e0b\u662f\u5426\u6709\u4eba\u5df2\u7ecf\u7f16\u8bd1\u4e86\u5305\u542b\u6240\u9700\u8981\u529f\u80fd\u7684\u9884\u7f16\u8bd1\u5305\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7f16\u8bd1\u6240\u9700\u7684\u77e5\u8bc6\u548c\u8f6f\u4ef6\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u57fa\u7840\u7684 Unix \u6280\u80fd\uff08\u6709\u80fd\u529b\u64cd\u4f5c\u201cmake\u201d\u548c\u4e00\u79cd C \u8bed\u8a00\u7f16\u8bd1\u5668\uff09<\/li><li>\u4e00\u4e2a ANSI C \u8bed\u8a00\u7f16\u8bd1\u5668<\/li><li>\u4e00\u4e2a web \u670d\u52a1\u5668<\/li><li>\u4efb\u4f55\u6a21\u5757\u7279\u9700\u7684\u7ec4\u4ef6\uff08\u4f8b\u5982&nbsp;GD&nbsp;\u548c&nbsp;PDF&nbsp;\u5e93\u7b49)<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f4\u63a5\u4ece Git \u6e90\u6587\u4ef6\u6216\u8005\u81ea\u5df1\u4fee\u6539\u8fc7\u7684\u5305\u7f16\u8bd1\u65f6\u53ef\u80fd\u9700\u8981\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>autoconf: 2.59+ (for PHP &gt;= 7.0.0), 2.64+ (for PHP &gt;= 7.2.0)<\/li><li>automake: 1.4+<\/li><li>libtool: 1.4.x+\uff08\u9664\u4e86 1.4.2\uff09<\/li><li>re2c: \u7248\u672c 0.13.4+\uff08PHP &gt; 7.0.0\uff09\uff0c 0.13.7+ \uff08PHP &gt; 8.0.0\uff09<\/li><li>bison:<ul><li>PHP 7.0 &#8211; 7.3: 2.4 \u6216\u66f4\u9ad8 (\u5305\u542b Bison 3.x)<\/li><li>PHP 7.4: &gt; 3.0<\/li><\/ul><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">PHP \u521d\u59cb\u7684\u914d\u7f6e\u548c\u5b89\u88c5\u8fc7\u7a0b\u88ab\u00a0<strong>configure<\/strong>\u00a0\u811a\u672c\u4e2d\u4e00\u7cfb\u5217\u547d\u4ee4\u884c\u9009\u9879\u63a7\u5236\u3002\u53ef\u4ee5\u901a\u8fc7\u00a0<strong>.\/configure &#8211;help<\/strong>\u00a0\u547d\u4ee4\u4e86\u89e3 PHP \u6240\u6709\u53ef\u7528\u7684\u7f16\u8bd1\u9009\u9879\u53ca\u7b80\u77ed\u89e3\u91ca\u3002\u672c\u624b\u518c\u662f\u5206\u5f00\u5bf9\u8fd9\u4e9b\u9009\u9879\u7f16\u5199\u6587\u6863\u7684\u3002\u53ef\u5728\u9644\u5f55\u4e2d\u627e\u5230\u00a0\u6838\u5fc3\u914d\u7f6e\u9009\u9879\uff0c\u800c\u6269\u5c55\u6a21\u5757\u7279\u5b9a\u7684\u914d\u7f6e\u9009\u9879\u5206\u522b\u5728\u5176\u51fd\u6570\u53c2\u8003\u9875\u9762\u4e2d\u63cf\u8ff0\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u914d\u7f6e\u597d PHP \u540e\uff0c\u4fbf\u53ef\u4ee5\u5f00\u59cb\u7f16\u8bd1\u6a21\u5757\u548c\uff0f\u6216\u53ef\u6267\u884c\u6587\u4ef6\u3002<strong>make<\/strong>\u00a0\u547d\u4ee4\u7528\u6765\u505a\u8fd9\u4e00\u5de5\u4f5c\u3002\u5982\u679c\u8be5\u547d\u4ee4\u6267\u884c\u5931\u8d25\u800c\u627e\u4e0d\u5230\u539f\u56e0\uff0c\u8bf7\u53c2\u8003\u00a0\u5b89\u88c5\u95ee\u9898\u00a0\u4e00\u8282\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u8282\u5c06\u6307\u5bfc\u5982\u4f55\u5728 Unix \u7cfb\u7edf\u4e0b\u5b89\u88c5\u548c\u914d\u7f6e PHP\u3002\u5728\u5f00\u59cb\u5b89\u88c5\u4e4b\u524d\uff0c\u8bf7\u52a1\u5fc5\u7814\u7a76\u81ea\u5df1\u4f7f\u7528\u7684\u7cfb\u7edf\u548c web \u670d\u52a1\u5668\u7684\u76f8\u5173\u7ae0\u8282\u3002 \u5728\u5b89\u88c5\u524d\u9700\u8981\u8003\u8651\u7684\u4e8b\u9879\u4e00\u8282\u63d0\u5230\uff0c\u5728\u672c\u8282\u4e3b\u8981\u4ee5 web \u4e3a\u4e2d\u5fc3\u4ecb\u7ecd PHP \u7684\u8bbe\u7f6e\u3002\u4e0d\u8fc7\u672c\u8282\u4e5f\u4f1a\u8986\u76d6\u4e00\u4e9b PHP \u547d\u4ee4\u884c\u7528\u6cd5\u7684\u8bbe\u7f6e\u65b9\u6cd5\u3002 \u5728 Unix \u5e73\u53f0\u4e0b\u5b89\u88c5 PHP \u6709\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528\u914d\u7f6e\u548c\u7f16\u8bd1\u8fc7\u7a0b\uff0c\u6216\u662f\u4f7f\u7528\u5404\u79cd\u9884\u7f16\u8bd1\u7684\u5305\u3002\u672c\u6587\u4e3b\u8981\u9488\u5bf9\u914d\u7f6e\u548c\u7f16\u8bd1 PHP \u7684\u8fc7\u7a0b\u3002\u5f88\u591a Unix \u7c7b\u7cfb\u7edf\u90fd\u6709\u5305\u5b89\u88c5\u7cfb\u7edf\uff0c\u53ef\u4ee5\u7528\u5b83\u6765\u8bbe\u7f6e\u4e00\u4e2a\u6709\u7740\u6807\u51c6\u914d\u7f6e\u7684 PHP\u3002\u4f46\u662f\u82e5\u9700\u8981\u4e0e\u6807\u51c6\u914d\u7f6e\u4e0d\u540c\u7684\u529f\u80fd\uff08\u4f8b\u5982\u4e00\u4e2a\u5b89\u5168\u670d\u52a1<\/p>\n","protected":false},"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","tags":[],"document_cat":[9],"class_list":["post-85","document","type-document","status-publish","hentry","document_cat-php"],"_links":{"self":[{"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/document\/85","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/document"}],"about":[{"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/types\/document"}],"replies":[{"embeddable":true,"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/comments?post=85"}],"wp:attachment":[{"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/tags?post=85"},{"taxonomy":"document_cat","embeddable":true,"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/document_cat?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}