{"id":30512,"date":"2023-11-03T11:30:23","date_gmt":"2023-09-08T04:53:51","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/"},"modified":"2025-08-12T19:31:59","modified_gmt":"2025-08-12T11:31:59","slug":"homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/","title":{"rendered":"Homebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7"},"content":{"rendered":"<p>\u5728PHP7\u7684\u8f7b\u677e\u4ea4\u6d41\u6d3b\u52a8#1\u5f00\u59cb\u4e4b\u524d\uff0c\u6211\u7b80\u5355\u4e86\u89e3\u4e86\u4e00\u4e0b\u5e76\u540c\u65f6\u5b89\u88c5\u4e86PHP7\uff0c\u5e76\u505a\u4e86\u4e00\u4e9b\u4e8b\u60c5\u3002(\u56e0\u4e3a\u6211\u60f3\u5230\u53c2\u52a0\u4e86PHP7\u7684\u5b66\u4e60\u4f1a\uff0c\u5374\u6ca1\u6709\u5b89\u88c5PHP7\uff0c\u89c9\u5f97\u5f88\u5947\u602a\u3002)<\/p>\n<h2>\u603b\u7ed3<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Homebrew<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Yosemite<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u4ee5\u524d\u307e\u3067\u306fphp5.5\u3092\u5165\u308c\u3066\u305f\u3063\u307d\u3044\uff1f\u521d\u5fc3\u8005\u306e\u3053\u308d\u306b\u8cb7\u3063\u305fmac\u3060\u304b\u3089\u3088\u304f\u308f\u304b\u3089\u306c<\/ul>\n<h2>\u6211\u8a66\u8457\u653e\u9032\u53bb\u3002<\/p>\n<pre class=\"post-pre\"><code>$ brew update\r\n$ brew install homebrew\/php\/php70\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>$ brew install homebrew\/php\/php70\r\n==&gt; Tapping homebrew\/php\r\nCloning into '\/usr\/local\/Library\/Taps\/homebrew\/homebrew-php'...\r\nremote: Counting objects: 575, done.\r\nremote: Compressing objects: 100% (354\/354), done.\r\nremote: Total 575 (delta 384), reused 250 (delta 220), pack-reused 0\r\nReceiving objects: 100% (575\/575), 238.43 KiB | 347 KiB\/s, done.\r\nResolving deltas: 100% (384\/384), done.\r\nTapped 555 formulae (591 files, 1M)\r\n==&gt; Installing php70 from homebrew\/php\r\nError: Formulae found in multiple taps:\r\n * homebrew\/php\/php53\r\n * josegonzalez\/php\/php53\r\n\r\nPlease use the fully-qualified name e.g. homebrew\/php\/php53 to refer the formula.\r\n<\/code><\/pre>\n<p>\u9519\u8bef\u3002<\/p>\n<p>\u5982\u679c\u4f60\u8c03\u67e5\u4e86\uff0c\u5c31\u8bf7untap\u5b83\u5427\u3002<\/p>\n<pre class=\"post-pre\"><code>brew untap josegonzalez\/php\r\nbrew tap --repair\r\nbrew update\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code> brew install homebrew\/php\/php70\r\n==&gt; Installing php70 from homebrew\/php\r\nError: Cannot install homebrew\/php\/php70 because conflicting formulae are installed.\r\n\r\n  php55: because different php versions install the same binaries.\r\n\r\nPlease `brew unlink php55` before continuing.\r\n\r\nUnlinking removes a formula's symlinks from \/usr\/local. You can\r\nlink the formula again after the install finishes. You can --force this\r\ninstall, but the build may fail or cause obscure side-effects in the\r\nresulting software.\r\n<\/code><\/pre>\n<p>\u518d\u4e00\u6b21\u51fa\u9519\u3002<br \/>\n\u79fb\u9664php55\u3002<\/p>\n<pre class=\"post-pre\"><code>$ brew unlink php55\r\nUnlinking \/usr\/local\/Cellar\/php55\/5.5.22... Error: Permission denied - \/usr\/local\/lib\/php\/.channels\r\n<\/code><\/pre>\n<p>\u54ce\u5440\u3002\u51fa\u9519\u4e86\u3002\u3002\u3002<br \/>\n\u8fd9\u6b21\u662funlink\u4ea7\u751f\u7684\u9519\u8bef\uff0c\u6240\u4ee5\u9700\u8981\u7528sudo\u6765\u5904\u7406\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo brew unlink php55\r\n<\/code><\/pre>\n<p>\u597d\u7684\uff0c\u6211\u4eec\u8d70\u5427\u3002<\/p>\n<p>\u6211\u8981\u5b89\u88c5\u3002<\/p>\n<pre class=\"post-pre\"><code>$ brew install homebrew\/php\/php70\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>==&gt; Installing php70 from homebrew\/php\r\n==&gt; Installing dependencies for homebrew\/php\/php70: libpng, freetype, get\r\n==&gt; Installing homebrew\/php\/php70 dependency: libpng\r\n==&gt; Downloading https:\/\/homebrew.bintray.com\/bottles\/libpng-1.6.21.yosemite.bott\r\n######################################################################## 100.0%\r\n==&gt; Pouring libpng-1.6.21.yosemite.bottle.tar.gz\r\n?  \/usr\/local\/Cellar\/libpng\/1.6.21: 17 files, 1.2M\r\n==&gt; Installing homebrew\/php\/php70 dependency: freetype\r\n==&gt; Downloading https:\/\/homebrew.bintray.com\/bottles\/freetype-2.6.2.yosemite.bot\r\n######################################################################## 100.0%\r\n==&gt; Pouring freetype-2.6.2.yosemite.bottle.tar.gz\r\n?  \/usr\/local\/Cellar\/freetype\/2.6.2: 60 files, 2.4M\r\n==&gt; Installing homebrew\/php\/php70 dependency: gettext\r\n==&gt; Downloading https:\/\/homebrew.bintray.com\/bottles\/gettext-0.19.7.yosemite.bot\r\n######################################################################## 100.0%\r\n==&gt; Pouring gettext-0.19.7.yosemite.bottle.tar.gz\r\n==&gt; Caveats\r\nThis formula is keg-only, which means it was not symlinked into \/usr\/local.\r\n\r\nOS X provides the BSD gettext library and some software gets confused if both are in the library path.\r\n\r\nGenerally there are no consequences of this for you. If you build your\r\nown software and it requires this formula, you'll need to add to your\r\nbuild variables:\r\n\r\n    LDFLAGS:  -L\/usr\/local\/opt\/gettext\/lib\r\n    CPPFLAGS: -I\/usr\/local\/opt\/gettext\/include\r\n\r\n==&gt; Summary\r\n?  \/usr\/local\/Cellar\/gettext\/0.19.7: 1,929 files, 16.6M\r\n==&gt; Installing homebrew\/php\/php70 dependency: icu4c\r\n==&gt; Downloading https:\/\/homebrew.bintray.com\/bottles\/icu4c-56.1.yosemite.bottle.\r\n######################################################################## 100.0%\r\n==&gt; Pouring icu4c-56.1.yosemite.bottle.tar.gz\r\n==&gt; Caveats\r\nThis formula is keg-only, which means it was not symlinked into \/usr\/local.\r\n\r\nOS X provides libicucore.dylib (but nothing else).\r\n\r\nGenerally there are no consequences of this for you. If you build your\r\nown software and it requires this formula, you'll need to add to your\r\nbuild variables:\r\n\r\n    LDFLAGS:  -L\/usr\/local\/opt\/icu4c\/lib\r\n    CPPFLAGS: -I\/usr\/local\/opt\/icu4c\/include\r\n\r\n==&gt; Summary\r\n?  \/usr\/local\/Cellar\/icu4c\/56.1: 244 files, 63.7M\r\n==&gt; Installing homebrew\/php\/php70 dependency: openssl\r\n==&gt; Downloading https:\/\/homebrew.bintray.com\/bottles\/openssl-1.0.2f.yosemite.bot\r\n######################################################################## 100.0%\r\n==&gt; Pouring openssl-1.0.2f.yosemite.bottle.tar.gz\r\n==&gt; Caveats\r\nA CA file has been bootstrapped using certificates from the system\r\nkeychain. To add additional certificates, place .pem files in\r\n  \/usr\/local\/etc\/openssl\/certs\r\n\r\nand run\r\n  \/usr\/local\/opt\/openssl\/bin\/c_rehash\r\n\r\nThis formula is keg-only, which means it was not symlinked into \/usr\/local.\r\n\r\nApple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries\r\n\r\nGenerally there are no consequences of this for you. If you build your\r\nown software and it requires this formula, you'll need to add to your\r\nbuild variables:\r\n\r\n    LDFLAGS:  -L\/usr\/local\/opt\/openssl\/lib\r\n    CPPFLAGS: -I\/usr\/local\/opt\/openssl\/include\r\n\r\n==&gt; Summary\r\n?  \/usr\/local\/Cellar\/openssl\/1.0.2f: 466 files, 11.9M\r\n==&gt; Installing homebrew\/php\/php70\r\n==&gt; Downloading https:\/\/homebrew.bintray.com\/bottles-php\/php70-7.0.2.yosemite.bo\r\n######################################################################## 100.0%\r\n==&gt; Pouring php70-7.0.2.yosemite.bottle.10.tar.gz\r\n==&gt; Caveats\r\nTo enable PHP in Apache add the following to httpd.conf and restart Apache:\r\n    LoadModule php7_module    \/usr\/local\/opt\/php70\/libexec\/apache2\/libphp7.so\r\n\r\n    &lt;FilesMatch .php$&gt;\r\n        SetHandler application\/x-httpd-php\r\n    &lt;\/FilesMatch&gt;\r\n\r\nFinally, check DirectoryIndex includes index.php\r\n    DirectoryIndex index.php index.html\r\n\r\nThe php.ini file can be found in:\r\n    \/usr\/local\/etc\/php\/7.0\/php.ini\r\n\r\n\u2729\u2729\u2729\u2729 Extensions \u2729\u2729\u2729\u2729\r\n\r\nIf you are having issues with custom extension compiling, ensure that\r\nyou are using the brew version, by placing \/usr\/local\/bin before \/usr\/sbin in your PATH:\r\n\r\n      PATH=\"\/usr\/local\/bin:$PATH\"\r\n\r\nPHP70 Extensions will always be compiled against this PHP. Please install them\r\nusing --without-homebrew-php to enable compiling against system PHP.\r\n\r\n\u2729\u2729\u2729\u2729 PHP CLI \u2729\u2729\u2729\u2729\r\n\r\nIf you wish to swap the PHP you use on the command line, you should add the following to ~\/.bashrc,\r\n~\/.zshrc, ~\/.profile or your shell's equivalent configuration file:\r\n\r\n      export PATH=\"$(brew --prefix homebrew\/php\/php70)\/bin:$PATH\"\r\n\r\n\u2729\u2729\u2729\u2729 FPM \u2729\u2729\u2729\u2729\r\n\r\nTo launch php-fpm on startup:\r\n    mkdir -p ~\/Library\/LaunchAgents\r\n    cp \/usr\/local\/opt\/php70\/homebrew.mxcl.php70.plist ~\/Library\/LaunchAgents\/\r\n    launchctl load -w ~\/Library\/LaunchAgents\/homebrew.mxcl.php70.plist\r\n\r\nThe control script is located at \/usr\/local\/opt\/php70\/sbin\/php70-fpm\r\n\r\nOS X 10.8 and newer come with php-fpm pre-installed, to ensure you are using the brew version you need to make sure \/usr\/local\/sbin is before \/usr\/sbin in your PATH:\r\n\r\n  PATH=\"\/usr\/local\/sbin:$PATH\"\r\n\r\nYou may also need to edit the plist to use the correct \"UserName\".\r\n\r\nPlease note that the plist was called 'homebrew-php.josegonzalez.php70.plist' in old versions\r\nof this formula.\r\n\r\nTo have launchd start homebrew\/php\/php70 at login:\r\n  ln -sfv \/usr\/local\/opt\/php70\/*.plist ~\/Library\/LaunchAgents\r\nThen to load homebrew\/php\/php70 now:\r\n  launchctl load ~\/Library\/LaunchAgents\/homebrew.mxcl.php70.plist\r\n==&gt; Summary\r\n?  \/usr\/local\/Cellar\/php70\/7.0.2: 331 files, 49.3M\r\n<\/code><\/pre>\n<p>\u597d\u50cf\u51fa\u6765\u4e86\u5427\uff1f<\/p>\n<pre class=\"post-pre\"><code>$ php -v\r\nPHP 7.0.2 (cli) (built: Jan  7 2016 10:40:21) ( NTS )\r\nCopyright (c) 1997-2015 The PHP Group\r\nZend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies\r\n<\/code><\/pre>\n<p>\u65e2\u7136\u8fd9\u6837\uff0c\u8fd8\u662f\u5c06\u8def\u5f84\u6dfb\u52a0\u5230bashrc\u6587\u4ef6\u4e2d\u6bd4\u8f83\u597d\uff0c\u6240\u4ee5\u6dfb\u52a0\u8fdb\u53bb\u3002<\/p>\n<pre class=\"post-pre\"><code>export PATH=\"$(brew --prefix homebrew\/php\/php70)\/bin:$PATH\"\r\n<\/code><\/pre>\n<p>\u770b\u8d77\u6765\u53ef\u4ee5\u3002\u5982\u679c\u53d1\u751f\u95ee\u9898\uff0c\u518d\u91cd\u65b0\u8003\u8651\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728PHP7\u7684\u8f7b\u677e\u4ea4\u6d41\u6d3b\u52a8#1\u5f00\u59cb\u4e4b\u524d\uff0c\u6211\u7b80\u5355\u4e86\u89e3\u4e86\u4e00\u4e0b\u5e76\u540c\u65f6\u5b89\u88c5\u4e86PHP7\uff0c\u5e76\u505a\u4e86\u4e00\u4e9b\u4e8b\u60c5\u3002(\u56e0\u4e3a\u6211\u60f3\u5230\u53c2\u52a0\u4e86 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-30512","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>Homebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8eHomebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7\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\/homebrew\u5c06php\u4ecephp5\u5347\u7ea7\u5230php7\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Homebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8eHomebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/homebrew\u5c06php\u4ecephp5\u5347\u7ea7\u5230php7\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-08T04:53:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T11:31:59+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\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, \u5b87\" \/>\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\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/\",\"name\":\"Homebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-09-08T04:53:51+00:00\",\"dateModified\":\"2025-08-12T11:31:59+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"description\":\"\u5173\u4e8eHomebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Homebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7\"}]},{\"@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\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Homebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7 - Blog - Silicon Cloud","description":"\u5173\u4e8eHomebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7\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\/homebrew\u5c06php\u4ecephp5\u5347\u7ea7\u5230php7\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"Homebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7","og_description":"\u5173\u4e8eHomebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/homebrew\u5c06php\u4ecephp5\u5347\u7ea7\u5230php7\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-09-08T04:53:51+00:00","article_modified_time":"2025-08-12T11:31:59+00:00","author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/","name":"Homebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-09-08T04:53:51+00:00","dateModified":"2025-08-12T11:31:59+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"description":"\u5173\u4e8eHomebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Homebrew\u5c06PHP\u4ecePHP5\u5347\u7ea7\u5230PHP7"}]},{"@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\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/homebrew%e5%b0%86php%e4%bb%8ephp5%e5%8d%87%e7%ba%a7%e5%88%b0php7%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30512","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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=30512"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30512\/revisions"}],"predecessor-version":[{"id":111757,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30512\/revisions\/111757"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=30512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=30512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=30512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}