{"id":30551,"date":"2024-03-08T20:07:43","date_gmt":"2022-12-10T19:05:07","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/"},"modified":"2025-08-12T19:43:51","modified_gmt":"2025-08-12T11:43:51","slug":"%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/","title":{"rendered":"\u5c06PHP 7.0\u5347\u7ea7\u81f37.1"},"content":{"rendered":"<p>\u53c2\u8003\uff09\u5728MacOSX\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528brew install php\u547d\u4ee4\u5c06\u7248\u672c\u5347\u7ea7\u52307.1\u3002<br \/>\n\u94fe\u63a5\uff1ahttp:\/\/qiita.com\/bohebohechan\/items\/720cc0f830f3222bf99d<\/p>\n<h2>\u5927\u81f4\u6b65\u9aa4<\/p>\n<p>\u7531\u4e8e\u4e4b\u524d\u5df2\u7ecf\u901a\u8fc7brew\u5b89\u88c5\u4e86PHP7.0\uff0c\u6240\u4ee5\u8fd9\u6b21\u4e0d\u9700\u8981\u6dfb\u52a0\u5b58\u50a8\u5e93\u3002<\/p>\n<ul class=\"post-ul\">\nbrew update<br \/>\nbrew upgrade<br \/>\nbrew search php  \u203b\u3044\u3061\u304a\u3046\u3042\u308b\u304b\u78ba\u8a8d\u3057\u3066\u304a\u304f<br \/>\nbrew unlink php70<br \/>\nbrew install php71\n<\/ul>\n<p>\u4ee5\u4e2d\u6587\u4e3a\u6bcd\u8bed\u7684\u65b9\u5f0f\u8fdb\u884c\u518d\u8868\u8ff0\uff1a\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<pre class=\"post-pre\"><code>$ brew install php71\r\n==&gt; Installing php71 from homebrew\/php\r\n==&gt; Downloading https:\/\/homebrew.bintray.com\/bottles-php\/php71-7.1.6_18.yosemite.bottle.tar.gz\r\n######################################################################## 100.0%\r\n==&gt; Pouring php71-7.1.6_18.yosemite.bottle.tar.gz\r\n==&gt; Caveats\r\nThe php.ini file can be found in:\r\n    \/usr\/local\/etc\/php\/7.1\/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 you 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\nPHP71 Extensions will always be compiled against this PHP. Please install them using --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, ~\/.zshrc, ~\/.profile or your shell's equivalent configuration file:\r\n  export PATH=\"$(brew --prefix homebrew\/php\/php71)\/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\/php71\/homebrew.mxcl.php71.plist ~\/Library\/LaunchAgents\/\r\n    launchctl load -w ~\/Library\/LaunchAgents\/homebrew.mxcl.php71.plist\r\n\r\nThe control script is located at \/usr\/local\/opt\/php71\/sbin\/php71-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.php71.plist' in old versions of this formula.\r\n\r\nWith the release of macOS Sierra the Apache module is now not built by default. If you want to build it on your system you have to install php with the --with-httpd24 option. See  brew options php71 for more details.\r\n\r\nTo have launchd start homebrew\/php\/php71 now and restart at login:\r\n  brew services start homebrew\/php\/php71\r\n==&gt; Summary\r\n?  \/usr\/local\/Cellar\/php71\/7.1.6_18: 349 files, 40MB\r\n<\/code><\/pre>\n<p>\u987a\u4fbf\u8bf4\u4e00\u53e5\uff0c\u5728\u6211\u641c\u7d22 php \u65f6\uff0c\u4e5f\u627e\u5230\u4e86 php72\uff0c\u4f46\u56e0\u4e3a\u5b83\u4ecd\u5904\u4e8e\u03b1\u7248\u9636\u6bb5\uff0c\u6240\u4ee5\u6211\u51b3\u5b9a\u4e0d\u5b89\u88c5\u5b83\u3002<\/p>\n<h2>\u786e\u8ba4 (qu\u00e8<\/p>\n<p>\u55ef\uff0c\u6211\u89c9\u5f97\u5e94\u8be5\u6ca1\u6709\u65e0\u6cd5\u5b89\u88c5\u7684\u95ee\u9898\u3002<\/p>\n<pre class=\"post-pre\"><code>$ php -v\r\nPHP 7.1.6 (cli) (built: Jun 23 2017 08:41:51) ( NTS )\r\nCopyright (c) 1997-2017 The PHP Group\r\nZend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies\r\n<\/code><\/pre>\n<p>\u597d\u7684\u3002\u6ca1\u95ee\u9898\u3002<\/p>\n<p>\u6211\u5728\u4e00\u4e2a\u4f7f\u7528\u4ee5\u4e0b\u6846\u67b6\u7684\u4e2a\u4eba\u73b0\u6709\u9879\u76ee\u4e2d\u8fdb\u884c\u4e86\u8f7b\u91cf\u7ea7\u7684\u64cd\u4f5c\u786e\u8ba4\uff0c\u6ca1\u6709\u9047\u5230\u4efb\u4f55\u95ee\u9898\u3002<\/p>\n<ul class=\"post-ul\">\nCodeIgniter 4dev<br \/>\nCodeIgniter 2.x \uff08\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u30b3\u30a2\u306f\u6628\u5e74PHP7.0\u6700\u9069\u5316\u6e08\u307f\uff09\n<\/ul>\n<h2>\u968f\u540e<\/p>\n<p>\u53bb\u5e74\u5b89\u88c5\u4e86PHP7.0\u4e4b\u540e\uff0c\u6211\u5fd8\u8bb0\u4e86\u5982\u4f55\u4fee\u6539php.ini\u6587\u4ef6\u548c\u5b89\u88c5\u4e86\u54ea\u4e9b\u6269\u5c55\u6a21\u5757\uff0c\u6240\u4ee5\u53ef\u80fd\u4e0d\u9700\u8981\uff0c\u4e0d\u8fc7\u8fd8\u662f\u8981\u786e\u8ba4\u4e00\u4e0b\u3002<\/p>\n<h3>PHP\u914d\u7f6e\u6587\u4ef6\u5dee\u5f02\u5316<\/p>\n<pre class=\"post-pre\"><code>$ diff \/usr\/local\/etc\/php\/7.1\/php.ini \/usr\/local\/etc\/php\/7.0\/php.ini\r\n146c146\r\n&lt; ; session.sid_bits_per_character\r\n---\r\n&gt; ; session.hash_bits_per_character\r\n160a161,165\r\n&gt; ; url_rewriter.tags\r\n&gt; ;   Default Value: \"a=href,area=href,frame=src,form=,fieldset=\"\r\n&gt; ;   Development Value: \"a=href,area=href,frame=src,input=src,form=fakeentry\"\r\n&gt; ;   Production Value: \"a=href,area=href,frame=src,input=src,form=fakeentry\"\r\n&gt; \r\n242,258d246\r\n&lt; ; URL rewriter function rewrites URL on the fly by using\r\n&lt; ; output buffer. You can set target tags by this configuration.\r\n&lt; ; \"form\" tag is special tag. It will add hidden input tag to pass values.\r\n&lt; ; Refer to session.trans_sid_tags for usage.\r\n&lt; ; Default Value: \"form=\"\r\n&lt; ; Development Value: \"form=\"\r\n&lt; ; Production Value: \"form=\"\r\n&lt; ;url_rewriter.tags\r\n&lt; \r\n&lt; ; URL rewriter will not rewrites absolute URL nor form by default. To enable\r\n&lt; ; absolute URL rewrite, allowed hosts must be defined at RUNTIME.\r\n&lt; ; Refer to session.trans_sid_hosts for more details.\r\n&lt; ; Default Value: \"\"\r\n&lt; ; Development Value: \"\"\r\n&lt; ; Production Value: \"\"\r\n&lt; ;url_rewriter.hosts\r\n&lt; \r\n300,303c288\r\n&lt; ; The value is also used for json_encode when encoding double values.\r\n&lt; ; If -1 is used, then dtoa mode 0 is used which automatically select the best\r\n&lt; ; precision.\r\n&lt; serialize_precision = -1\r\n---\r\n&gt; serialize_precision = 17\r\n341c326\r\n&lt; ;realpath_cache_size = 4096k\r\n---\r\n&gt; ;realpath_cache_size = 16k\r\n703a689\r\n&gt; ; mbstring or iconv output handler is used.\r\n777,781d762\r\n&lt; ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside\r\n&lt; ; of the web tree and people will not be able to circumvent .htaccess security.\r\n&lt; ; http:\/\/php.net\/cgi.dicard-path\r\n&lt; ;cgi.discard_path=1\r\n&lt; \r\n802,808d782\r\n&lt; ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!\r\n&lt; ; (shebang) at the top of the running script. This line might be needed if the\r\n&lt; ; script support running both as stand-alone script and via PHP CGI&lt;. PHP in CGI\r\n&lt; ; mode skips this line and ignores its content if this directive is turned on.\r\n&lt; ; http:\/\/php.net\/cgi.check-shebang-line\r\n&lt; ;cgi.check_shebang_line=1\r\n&lt; \r\n895d868\r\n&lt; ;extension=php_ftp.dll\r\n1202,1214d1174\r\n&lt; ; Records communication from all extensions using mysqlnd to the specified log\r\n&lt; ; file.\r\n&lt; ; http:\/\/php.net\/mysqlnd.debug\r\n&lt; ;mysqlnd.debug =\r\n&lt; \r\n&lt; ; Defines which queries will be logged.\r\n&lt; ; http:\/\/php.net\/mysqlnd.log_mask\r\n&lt; ;mysqlnd.log_mask = 0\r\n&lt; \r\n&lt; ; Default size of the mysqlnd memory pool, which is used by result sets.\r\n&lt; ; http:\/\/php.net\/mysqlnd.mempool_default_size\r\n&lt; ;mysqlnd.mempool_default_size = 16000\r\n&lt; \r\n1224,1232d1183\r\n&lt; ; Timeout for network requests in seconds.\r\n&lt; ; http:\/\/php.net\/mysqlnd.net_read_timeout\r\n&lt; ;mysqlnd.net_read_timeout = 31536000\r\n&lt; \r\n&lt; ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA\r\n&lt; ; key.\r\n&lt; ; http:\/\/php.net\/mysqlnd.sha256_server_public_key\r\n&lt; ;mysqlnd.sha256_server_public_key =\r\n&lt; \r\n1451a1403,1415\r\n&gt; ; How many bytes to read from the file.\r\n&gt; ; http:\/\/php.net\/session.entropy-length\r\n&gt; ;session.entropy_length = 32\r\n&gt; \r\n&gt; ; Specified here to create the session id.\r\n&gt; ; http:\/\/php.net\/session.entropy-file\r\n&gt; ; Defaults to \/dev\/urandom\r\n&gt; ; On systems that don't have \/dev\/urandom but do have \/dev\/arandom, this will default to \/dev\/arandom\r\n&gt; ; If neither are found at compile time, the default is no entropy file.\r\n&gt; ; On windows, setting the entropy_length setting will activate the\r\n&gt; ; Windows random source (using the CryptoAPI)\r\n&gt; ;session.entropy_file = \/dev\/urandom\r\n&gt; \r\n1473,1505c1437,1445\r\n&lt; ; Set session ID character length. This value could be between 22 to 256.\r\n&lt; ; Shorter length than default is supported only for compatibility reason.\r\n&lt; ; Users should use 32 or more chars.\r\n&lt; ; http:\/\/php.net\/session.sid-length\r\n&lt; ; Default Value: 32\r\n&lt; ; Development Value: 26\r\n&lt; ; Production Value: 26\r\n&lt; session.sid_length = 26\r\n&lt; \r\n&lt; ; The URL rewriter will look for URLs in a defined set of HTML tags.\r\n&lt; ; &lt;form&gt; is special; if you include them here, the rewriter will\r\n&lt; ; add a hidden &lt;input&gt; field with the info which is otherwise appended\r\n&lt; ; to URLs. &lt;form&gt; tag's action attribute URL will not be modified\r\n&lt; ; unless it is specified.\r\n&lt; ; Note that all valid entries require a \"=\", even if no value follows.\r\n&lt; ; Default Value: \"a=href,area=href,frame=src,form=\"\r\n&lt; ; Development Value: \"a=href,area=href,frame=src,form=\"\r\n&lt; ; Production Value: \"a=href,area=href,frame=src,form=\"\r\n&lt; ; http:\/\/php.net\/url-rewriter.tags\r\n&lt; session.trans_sid_tags = \"a=href,area=href,frame=src,form=\"\r\n&lt; \r\n&lt; ; URL rewriter does not rewrite absolute URLs by default.\r\n&lt; ; To enable rewrites for absolute pathes, target hosts must be specified\r\n&lt; ; at RUNTIME. i.e. use ini_set()\r\n&lt; ; &lt;form&gt; tags is special. PHP will check action attribute's URL regardless\r\n&lt; ; of session.trans_sid_tags setting.\r\n&lt; ; If no host is defined, HTTP_HOST will be used for allowed host.\r\n&lt; ; Example value: php.net,www.php.net,wiki.php.net\r\n&lt; ; Use \",\" for multiple hosts. No spaces are allowed.\r\n&lt; ; Default Value: \"\"\r\n&lt; ; Development Value: \"\"\r\n&lt; ; Production Value: \"\"\r\n&lt; ;session.trans_sid_hosts=\"\"\r\n---\r\n&gt; ; Select a hash function for use in generating session ids.\r\n&gt; ; Possible Values\r\n&gt; ;   0  (MD5 128 bits)\r\n&gt; ;   1  (SHA-1 160 bits)\r\n&gt; ; This option may also be set to the name of any hash function supported by\r\n&gt; ; the hash extension. A list of available hashes is returned by the hash_algos()\r\n&gt; ; function.\r\n&gt; ; http:\/\/php.net\/session.hash-function\r\n&gt; session.hash_function = 0\r\n1517c1457,1468\r\n&lt; session.sid_bits_per_character = 5\r\n---\r\n&gt; session.hash_bits_per_character = 5\r\n&gt; \r\n&gt; ; The URL rewriter will look for URLs in a defined set of HTML tags.\r\n&gt; ; form\/fieldset are special; if you include them here, the rewriter will\r\n&gt; ; add a hidden &lt;input&gt; field with the info which is otherwise appended\r\n&gt; ; to URLs.  If you want XHTML conformity, remove the form entry.\r\n&gt; ; Note that all valid entries require a \"=\", even if no value follows.\r\n&gt; ; Default Value: \"a=href,area=href,frame=src,form=,fieldset=\"\r\n&gt; ; Development Value: \"a=href,area=href,frame=src,input=src,form=fakeentry\"\r\n&gt; ; Production Value: \"a=href,area=href,frame=src,input=src,form=fakeentry\"\r\n&gt; ; http:\/\/php.net\/url-rewriter.tags\r\n&gt; url_rewriter.tags = \"a=href,area=href,frame=src,input=src,form=fakeentry\"\r\n1704c1655\r\n&lt; ;gd.jpeg_ignore_warning = 1\r\n---\r\n&gt; ;gd.jpeg_ignore_warning = 0\r\n1782c1733\r\n&lt; ;opcache.enable=1\r\n---\r\n&gt; ;opcache.enable=0\r\n1785c1736\r\n&lt; ;opcache.enable_cli=1\r\n---\r\n&gt; ;opcache.enable_cli=0\r\n1788c1739\r\n&lt; ;opcache.memory_consumption=128\r\n---\r\n&gt; ;opcache.memory_consumption=64\r\n1791c1742\r\n&lt; ;opcache.interned_strings_buffer=8\r\n---\r\n&gt; ;opcache.interned_strings_buffer=4\r\n1794,1795c1745,1746\r\n&lt; ; Only numbers between 200 and 1000000 are allowed.\r\n&lt; ;opcache.max_accelerated_files=10000\r\n---\r\n&gt; ; Only numbers between 200 and 100000 are allowed.\r\n&gt; ;opcache.max_accelerated_files=2000\r\n1823d1773\r\n&lt; ; Depending on the used Memory Manager this may cause some incompatibilities.\r\n1893,1897d1842\r\n&lt; ; Implies opcache.file_cache_only=1 for a certain process that failed to\r\n&lt; ; reattach to the shared memory (for Windows only). Explicitly enabled file\r\n&lt; ; cache is required.\r\n&lt; ;opcache.file_cache_fallback=1\r\n&lt; \r\n1902,1907d1846\r\n&lt; ; Validate cached file permissions.\r\n&lt; ;opcache.validate_permission=0\r\n&lt; \r\n&lt; ; Prevent name collisions in chroot'ed environment.\r\n&lt; ;opcache.validate_root=0\r\n&lt; \r\n<\/code><\/pre>\n<p>\u6709\u4e9b\u9879\u76ee\u4f3c\u4e4e\u6ca1\u6709\u7279\u522b\u8fdb\u884c\u4fee\u6539\u3002<br \/>\nopcache\u7684\u542f\u7528\/\u7981\u7528\u8bbe\u7f6e\u53d1\u751f\u4e86\u53d8\u5316\uff0c\u4f46\u662f\u6211\u4e0d\u8bb0\u5f97PHP7.0\u6700\u521d\u662f\u7981\u7528\u7684\u8fd8\u662f\u6211\u81ea\u5df1\u7981\u7528\u7684\u3002\uff08\u4e5f\u6ca1\u6709\u67e5\u8fc7\uff09<\/p>\n<p>\u6682\u65f6\u6765\u8bf4\uff0c\u6211\u521a\u521a\u624d\u610f\u8bc6\u5230\u6211\u6ca1\u6709\u6b63\u786e\u8bbe\u7f6e\u65f6\u533a&#8230;<\/p>\n<pre class=\"post-pre\"><code>;date.timezone =\r\n<\/code><\/pre>\n<h3>\u6269\u5c55\u6a21\u5757<\/p>\n<p>\u6211\u67e5\u770b\u4e86 PHP 7.0 \u7684\u6269\u5c55\u6a21\u5757\uff0c\u4f46\u53ea\u5b89\u88c5\u4e86 Apache \u6a21\u5757\u3002\uff08\u867d\u7136\u6211\u8bb0\u5f97\u8fd8\u5b89\u88c5\u4e86\u5176\u4ed6\u6a21\u5757&#8230;\uff09<\/p>\n<pre class=\"post-pre\"><code>$ tree \/usr\/local\/Cellar\/php70\/7.0.7\/libexec\/\r\n\/usr\/local\/Cellar\/php70\/7.0.7\/libexec\/\r\n\u2514\u2500\u2500 apache2\r\n    \u2514\u2500\u2500 libphp7.so\r\n<\/code><\/pre>\n<p>\u5728\u672c\u5730\u5f00\u53d1\u65f6\uff0c\u6211\u4f7f\u7528\u5185\u7f6e\u670d\u52a1\u5668\uff0c\u56e0\u6b64 apache \u6a21\u5757\u53ea\u5728\u9700\u8981\u65f6\u5b89\u88c5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u53c2\u8003\uff09\u5728MacOSX\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528brew install php\u547d\u4ee4\u5c06\u7248\u672c\u5347\u7ea7\u52307.1\u3002 \u94fe\u63a5\uff1ahttp:\/\/ [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-30551","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>\u5c06PHP 7.0\u5347\u7ea7\u81f37.1 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5c06PHP 7.0\u5347\u7ea7\u81f37.1\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\/\u5c06php-7-0\u5347\u7ea7\u81f37-1\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5c06PHP 7.0\u5347\u7ea7\u81f37.1\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5c06PHP 7.0\u5347\u7ea7\u81f37.1\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5c06php-7-0\u5347\u7ea7\u81f37-1\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-10T19:05:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T11:43:51+00:00\" \/>\n<meta name=\"author\" content=\"\u65b0, \u97f5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u65b0, \u97f5\" \/>\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\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/\",\"name\":\"\u5c06PHP 7.0\u5347\u7ea7\u81f37.1 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-12-10T19:05:07+00:00\",\"dateModified\":\"2025-08-12T11:43:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\"},\"description\":\"\u5173\u4e8e\u5c06PHP 7.0\u5347\u7ea7\u81f37.1\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5c06PHP 7.0\u5347\u7ea7\u81f37.1\"}]},{\"@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\/4ba4019495123db3038fd0809e6959c9\",\"name\":\"\u65b0, \u97f5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"caption\":\"\u65b0, \u97f5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5c06PHP 7.0\u5347\u7ea7\u81f37.1 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5c06PHP 7.0\u5347\u7ea7\u81f37.1\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\/\u5c06php-7-0\u5347\u7ea7\u81f37-1\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5c06PHP 7.0\u5347\u7ea7\u81f37.1","og_description":"\u5173\u4e8e\u5c06PHP 7.0\u5347\u7ea7\u81f37.1\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5c06php-7-0\u5347\u7ea7\u81f37-1\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-12-10T19:05:07+00:00","article_modified_time":"2025-08-12T11:43:51+00:00","author":"\u65b0, \u97f5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u65b0, \u97f5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/","name":"\u5c06PHP 7.0\u5347\u7ea7\u81f37.1 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-12-10T19:05:07+00:00","dateModified":"2025-08-12T11:43:51+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9"},"description":"\u5173\u4e8e\u5c06PHP 7.0\u5347\u7ea7\u81f37.1\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5c06PHP 7.0\u5347\u7ea7\u81f37.1"}]},{"@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\/4ba4019495123db3038fd0809e6959c9","name":"\u65b0, \u97f5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","caption":"\u65b0, \u97f5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%b0%86php-7-0%e5%8d%87%e7%ba%a7%e8%87%b37-1\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30551","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\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=30551"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30551\/revisions"}],"predecessor-version":[{"id":111767,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/30551\/revisions\/111767"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=30551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=30551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=30551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}