{"id":2339,"date":"2022-01-24T17:49:29","date_gmt":"2022-01-24T09:49:29","guid":{"rendered":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/?p=2339"},"modified":"2023-02-01T19:24:03","modified_gmt":"2023-02-01T11:24:03","slug":"debian-bookworm-php8-1","status":"publish","type":"post","link":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/2022\/01\/24\/debian-bookworm-php8-1\/","title":{"rendered":"Debian (bookworm) + php8.1"},"content":{"rendered":"\n<p>\u66f4\u65b0\u4e86\u4e00\u4e0b\u8f6f\u4ef6\u5e93\uff0c\u53d1\u73b0 php \u7248\u672c\u5347\u7ea7\u5230 php8.1\u3002\u4e0d\u8fc7\u7cdf\u7cd5\u7684\u662f\uff0c\u5347\u7ea7\u7a0b\u5e8f\u76f4\u63a5\u5378\u8f7d\u4e86\u4ee5\u524d\u7684 php7 \u7248\u672c\uff0c\u7136\u540e\u53c8\u6ca1\u6709\u5b89\u88c5 apache2 \u65b0\u7684 php8.1 \u6a21\u5757\uff0c\u5bfc\u81f4 apache2 \u6ca1\u6709\u89e3\u6790\u548c\u8fd0\u884c php \u6587\u4ef6\u3002<\/p>\n\n\n\n<p>\u89e3\u51b3\u65b9\u5f0f\u4e5f\u7b80\u5355\uff0c\u91cd\u4f7f\u80fd\u6a21\u5757\u5373\u53ef\u3002\u6ce8\u610f\uff0c\u8be5\u547d\u4ee4\u8981\u7528 sudo \u6743\u9650\u8fd0\u884c\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo a2enmod php8.1<\/pre>\n\n\n\n<p>\u4ee5\u524d\u5347\u7ea7 Debian \u4f3c\u4e4e\u6ca1\u6709\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u9ed8\u8ba4\u5e94\u8be5\u5c31\u5b89\u88c5\u65b0\u7684\u6a21\u5757\u7248\u672c\uff0c\u6216\u8005\u4fdd\u7559\u539f\u6709\u7684\u7248\u672c\u3002\u4e0d\u77e5\u9053\u662f\u4e0d\u662f\u8fd9\u4e2a\u73af\u5883\u7684 Debian \u662f sid \u7248\u672c\u7684\u539f\u56e0\uff1f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u66f4\u65b0\u4e86\u4e00\u4e0b\u8f6f\u4ef6\u5e93\uff0c\u53d1\u73b0 php \u7248\u672c\u5347\u7ea7\u5230 php8.1\u3002\u4e0d\u8fc7\u7cdf\u7cd5\u7684\u662f\uff0c\u5347\u7ea7\u7a0b\u5e8f\u76f4\u63a5\u5378\u8f7d\u4e86\u4ee5\u524d\u7684 php7 \u7248\u672c\uff0c\u7136\u540e\u53c8\u6ca1\u6709\u5b89\u88c5 apache2 \u65b0\u7684 php8&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.myvoipapp.com\/blogs\/yxh\/2022\/01\/24\/debian-bookworm-php8-1\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[834,78,835],"class_list":["post-2339","post","type-post","status-publish","format-standard","hentry","category-53","tag-bookworm","tag-debian","tag-php8"],"_links":{"self":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts\/2339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/comments?post=2339"}],"version-history":[{"count":4,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts\/2339\/revisions"}],"predecessor-version":[{"id":2469,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/posts\/2339\/revisions\/2469"}],"wp:attachment":[{"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/media?parent=2339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/categories?post=2339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myvoipapp.com\/blogs\/yxh\/wp-json\/wp\/v2\/tags?post=2339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}