{"id":30417,"date":"2023-08-09T04:38:59","date_gmt":"2022-12-09T02:34:42","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/"},"modified":"2025-08-12T19:05:12","modified_gmt":"2025-08-12T11:05:12","slug":"%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/","title":{"rendered":"\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4&#8230;"},"content":{"rendered":"<h2>\u9519\u8bef<\/h2>\n<pre class=\"post-pre\"><code>% php <span class=\"nt\">-v<\/span>\r\ndyld[12345]: Library not loaded: \/opt\/homebrew\/opt\/icu4c\/lib\/libicuio.69.dylib\r\n  Referenced from: &lt;12345678-1234-1234-1234-123456789012&gt; \/opt\/homebrew\/Cellar\/php@7.4\/7.4.27\/bin\/php\r\n  Reason: tried: <span class=\"s1\">'\/opt\/homebrew\/opt\/icu4c\/lib\/libicuio.69.dylib'<\/span> <span class=\"o\">(<\/span>no such file<span class=\"o\">)<\/span>,\r\n<\/code><\/pre>\n<h2>\u5904\u7406\u6b65\u9aa4<\/h2>\n<div>\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5icu4c\u7684\u7248\u672c69\u3002\u53e6\u5916\uff0c\u4f60\u53ef\u4ee5\u81ea\u7531\u5730\u66f4\u6539yourname\u90e8\u5206\uff0c\u6ca1\u6709\u95ee\u9898\u3002<br \/>\n\u6b64\u5916\uff0c\u76ee\u5f55\u7ed3\u6784\u53ef\u80fd\u4f1a\u56e0\u73af\u5883\u800c\u7565\u6709\u53d8\u5316\u3002<\/div>\n<h3>\u521b\u5efa\u4e00\u4e2a\u89e6\u63a7\u952e<\/h3>\n<p>&#8220;Tap&#8221; \u662f\u4e00\u79cd\u529f\u80fd\uff0c\u901a\u8fc7 Homebrew\uff0c\u5728\u5916\u90e8\u5f15\u7528\u8f6f\u4ef6\u5305\u3002<\/p>\n<div>\u5927\u81f4\u4e0a\u8bf4\uff0c\u8fd9\u4e2a\u662f\u4e3a\u4e86\u4f7f\u90a3\u4e9b\u65e0\u6cd5\u901a\u8fc7brew\u547d\u4ee4\u8fdb\u884cinstall\u7b49\u64cd\u4f5c\uff08\u4f8b\u5982\u65e7\u7248\u672c\u7684\u8f6f\u4ef6\u5305\uff09\u7684\u5185\u5bb9\u53d8\u5f97\u53ef\u80fd\u3002<\/div>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code>brew tap-new yourname\/taps\r\n<\/code><\/pre>\n<h3>2. \u70b9\u51fb\u5c55\u5f00<\/h3>\n<pre class=\"post-pre\"><code>brew extract icu4c yourname\/taps <span class=\"nt\">--version<\/span> 69\r\n<\/code><\/pre>\n<h3>\u4f7f\u7528\u89e6\u6478\u64cd\u4f5c\u8fdb\u884c\u5b89\u88c5\u3002<\/h3>\n<pre class=\"post-pre\"><code>brew <span class=\"nb\">install <\/span>yourname\/taps\/icu4c@69\r\n<\/code><\/pre>\n<h3>4. \u521b\u5efa\u7b26\u53f7\u94fe\u63a5<\/h3>\n<p>\u4f5c\u4e3a\u6211\u7684\u89e3\u91ca\uff0c\u5c31\u50cf\u628a\u4e0e\u5df2\u5b89\u88c5\u6587\u4ef6\u76f8\u5173\u8054\u7684\u6587\u4ef6\u653e\u5728icu4c\u4e0b\u9762\u7684icu4c@69\u76ee\u5f55\u4e2d\u4e00\u6837\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u79fb\u52d5<\/span>\r\n<span class=\"nb\">cd<\/span> \/opt\/homebrew\/opt\/icu4c\/lib\r\n<span class=\"c\"># \u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d<\/span>\r\n<span class=\"nb\">ls<\/span> ..\/..\/..\/icu4c@69\r\n  <span class=\"c\"># \u2193\u2193\u2193 \u3053\u3093\u306a\u611f\u3058\u306b\u51fa\u529b\u3055\u308c\u308b\u306f\u305a \u2193\u2193\u2193<\/span>\r\n  <span class=\"c\"># 69.1<\/span>\r\n<span class=\"c\"># \u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u8cbc\u308b(\u5148\u307b\u3069\u306e69.1\u3092\u4f7f\u3046)<\/span>\r\n<span class=\"nb\">ln<\/span> <span class=\"nt\">-s<\/span> ..\/..\/..\/icu4c@69\/69.1\/lib\/libicuio.69.1.dylib libicuio.69.dylib\r\n<span class=\"nb\">ln<\/span> <span class=\"nt\">-s<\/span> ..\/..\/..\/icu4c@69\/69.1\/lib\/libicui18n.69.1.dylib libicui18n.69.dylib\r\n<span class=\"nb\">ln<\/span> <span class=\"nt\">-s<\/span> ..\/..\/..\/icu4c@69\/69.1\/lib\/libicuuc.69.1.dylib libicuuc.69.dylib\r\n<span class=\"nb\">ln<\/span> <span class=\"nt\">-s<\/span> ..\/..\/..\/icu4c@69\/69.1\/lib\/libicudata.69.1.dylib libicudata.69.dylib\r\n<span class=\"nb\">ln<\/span> <span class=\"nt\">-s<\/span> ..\/..\/..\/icu4c@69\/69.1\/lib\/libicutest.69.1.dylib libicutest.69.dylib\r\n<span class=\"nb\">ln<\/span> <span class=\"nt\">-s<\/span> ..\/..\/..\/icu4c@69\/69.1\/lib\/libicutu.69.1.dylib libicutu.69.dylib\r\n<span class=\"c\"># \u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u304c\u8cbc\u308c\u305f\u304b\u306e\u78ba\u8a8d<\/span>\r\n<span class=\"nb\">ls<\/span> <span class=\"nt\">-l<\/span> <span class=\"nb\">.<\/span> | <span class=\"nb\">grep <\/span>69.dy\r\n  <span class=\"c\"># \u2193\u2193\u2193 \u3053\u3093\u306a\u611f\u3058\u306b\u51fa\u529b\u3055\u308c\u308b\u306f\u305a \u2193\u2193\u2193<\/span>\r\n  <span class=\"c\"># abcde-xy-x  1 yourname  admin     48  5 29 12:00 libicudata.69.dylib -&gt; ..\/..\/..\/icu4c@69\/69.1\/lib\/libicudata.69.1.dylib<\/span>\r\n  <span class=\"c\"># abcde-xy-x  1 yourname  admin     48  5 29 12:00 libicui18n.69.dylib -&gt; ..\/..\/..\/icu4c@69\/69.1\/lib\/libicui18n.69.1.dylib<\/span>\r\n  <span class=\"c\"># abcde-xy-x  1 yourname  admin     46  5 29 12:00 libicuio.69.dylib -&gt; ..\/..\/..\/icu4c@69\/69.1\/lib\/libicuio.69.1.dylib<\/span>\r\n  <span class=\"c\"># abcde-xy-x  1 yourname  admin     48  5 29 12:00 libicutest.69.dylib -&gt; ..\/..\/..\/icu4c@69\/69.1\/lib\/libicutest.69.1.dylib<\/span>\r\n  <span class=\"c\"># abcde-xy-x  1 yourname  admin     46  5 29 12:00 libicutu.69.dylib -&gt; ..\/..\/..\/icu4c@69\/69.1\/lib\/libicutu.69.1.dylib<\/span>\r\n  <span class=\"c\"># abcde-xy-x  1 yourname  admin     46  5 29 12:00 libicuuc.69.dylib -&gt; ..\/..\/..\/icu4c@69\/69.1\/lib\/libicuuc.69.1.dylib<\/span>\r\n<\/code><\/pre>\n<h3>5. \u6267\u884c\u786e\u8ba4<\/h3>\n<pre class=\"post-pre\"><code>% php <span class=\"nt\">-v<\/span>\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u9519\u8bef % php -v dyld[12345]: Library not loaded: \/opt\/homeb [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-30417","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4... - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4...\u7684\u6280\u672f\u6587\u7ae0\" \/>\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.silicloud.com\/zh\/blog\/\u65e0\u6cd5\u4f7f\u7528php\u547d\u4ee4\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4...\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4...\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u65e0\u6cd5\u4f7f\u7528php\u547d\u4ee4\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-09T02:34:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T11:05:12+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u626c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u626c\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/\",\"name\":\"\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4... - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-12-09T02:34:42+00:00\",\"dateModified\":\"2025-08-12T11:05:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\"},\"description\":\"\u5173\u4e8e\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4...\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4&#8230;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\",\"name\":\"\u6e05, \u626c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u626c\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4... - Blog - Silicon Cloud","description":"\u5173\u4e8e\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4...\u7684\u6280\u672f\u6587\u7ae0","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.silicloud.com\/zh\/blog\/\u65e0\u6cd5\u4f7f\u7528php\u547d\u4ee4\/","og_locale":"zh_CN","og_type":"article","og_title":"\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4...","og_description":"\u5173\u4e8e\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4...\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u65e0\u6cd5\u4f7f\u7528php\u547d\u4ee4\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-12-09T02:34:42+00:00","article_modified_time":"2025-08-12T11:05:12+00:00","author":"\u6e05, \u626c","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u626c","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/","name":"\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4... - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-12-09T02:34:42+00:00","dateModified":"2025-08-12T11:05:12+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461"},"description":"\u5173\u4e8e\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4...\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u65e0\u6cd5\u4f7f\u7528PHP\u547d\u4ee4&#8230;"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461","name":"\u6e05, \u626c","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","caption":"\u6e05, \u626c"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%97%a0%e6%b3%95%e4%bd%bf%e7%94%a8php%e5%91%bd%e4%bb%a4\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=30417"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30417\/revisions"}],"predecessor-version":[{"id":93345,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30417\/revisions\/93345"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=30417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=30417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=30417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}