{"id":4473,"date":"2020-12-23T15:35:27","date_gmt":"2020-12-23T07:35:27","guid":{"rendered":"https:\/\/www.webteach.tw\/?p=4473"},"modified":"2020-12-23T15:35:27","modified_gmt":"2020-12-23T07:35:27","slug":"php-%e7%95%b6%e4%bd%a0%e9%9c%80%e8%a6%81%e7%b2%be%e6%ba%96%e7%9a%84%e5%b0%8f%e6%95%b8%e9%bb%9e%e8%a8%88%e7%ae%97%e6%99%82-%e5%8f%af%e4%bb%a5%e5%ae%89%e8%a3%9d-bcmath","status":"publish","type":"post","link":"https:\/\/www.webteach.tw\/?p=4473","title":{"rendered":"[ PHP ] &#8211; \u7576\u4f60\u9700\u8981\u7cbe\u6e96\u7684\u5c0f\u6578\u9ede\u8a08\u7b97\u6642 \u53ef\u4ee5\u5b89\u88dd bcmath"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u7576\u4f60\u9700\u8981\u7cbe\u6e96\u7684\u5c0f\u6578\u9ede\u8a08\u7b97\u6642 \u53ef\u4ee5\u5b89\u88dd bcmath \uff0c\u56e0\u70ba\u539f\u751f\u7684math\u51fd\u6578\u5bb9\u6613\u6709\u6578\u503c\u4e0d\u6e96\uff0c\u5982\u679c\u4f60\u7684\u696d\u52d9\u9700\u8981\u6709\u7cbe\u6e96\u7684\u5c0f\u6578\u9ede\u6642\u5c31\u9700\u8981\u5b89\u88dd\u3002<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u5148\u67e5\u8a62\u4f60\u4e3b\u6a5f\u7684php\u7248\u672c<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u6307\u4ee4<\/p>\n\n\n<pre class=\"wp-block-code\"><code>php -v<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u4f9d\u7248\u672c\u5b89\u88dd\u76f8\u5c0d\u61c9\u7684 bcmath<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u6307\u4ee4<\/p>\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install php7.2-bcmath<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\u91cd\u555f apache<\/p>\n\n\n<p class=\"wp-block-paragraph\">\u6307\u4ee4<\/p>\n\n\n<pre class=\"wp-block-code\"><code>sudo service apache2 restart<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u7576\u4f60\u9700\u8981\u7cbe\u6e96\u7684\u5c0f\u6578\u9ede\u8a08\u7b97\u6642 \u53ef\u4ee5\u5b89\u88dd bcmath \uff0c\u56e0\u70ba\u539f\u751f\u7684math\u51fd\u6578\u5bb9\u6613\u6709\u6578\u503c\u4e0d\u6e96\uff0c\u5982\u679c\u4f60\u7684\u696d\u52d9\u9700\u8981\u6709\u7cbe\u6e96\u7684\u5c0f\u6578\u9ede\u6642\u5c31\u9700\u8981\u5b89\u88dd\u3002<\/p>\n","protected":false},"author":1,"featured_media":4004,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,32],"tags":[109,137,448],"class_list":["post-4473","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache","category-linux","tag-apache","tag-bcmath","tag-php","hvn-theme-has-thumbnail"],"_links":{"self":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/4473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4473"}],"version-history":[{"count":0,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/4473\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/media\/4004"}],"wp:attachment":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}