{"id":46,"date":"2026-07-23T14:46:06","date_gmt":"2026-07-23T06:46:06","guid":{"rendered":"https:\/\/bbs.diuz.cn\/?p=46"},"modified":"2026-07-23T14:46:06","modified_gmt":"2026-07-23T06:46:06","slug":"%e6%8a%80%e6%9c%af%e6%a0%88%e3%80%81%e8%bf%90%e8%a1%8c%e7%8e%af%e5%a2%83%e3%80%81%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%85%8d%e7%bd%ae%e5%8f%82%e8%80%83","status":"publish","type":"post","link":"https:\/\/bbs.diuz.cn\/?p=46","title":{"rendered":"\u6280\u672f\u6808\u3001\u8fd0\u884c\u73af\u5883\u3001\u670d\u52a1\u5668\u914d\u7f6e\u53c2\u8003"},"content":{"rendered":"# \u4e09\u3001\u6280\u672f\u6808\u4e0e\u8fd0\u884c\u73af\u5883\r\n\r\n## 3.1 \u6280\u672f\u6808\r\n\r\n| \u5c42\u7ea7 | \u6280\u672f\u9009\u578b |\r\n|------|---------|\r\n| \u540e\u7aef\u8bed\u8a00 | PHP 8.1+ |\r\n| \u6570\u636e\u5e93 | MySQL 5.7+\uff08InnoDB \u5f15\u64ce\uff0cutf8mb4 \u5b57\u7b26\u96c6\uff09 |\r\n| Web \u670d\u52a1\u5668 | Nginx\uff08\u63a8\u8350\uff09\u6216 Apache |\r\n| \u90ae\u4ef6\u5e93 | PHPMailer 6.6+\uff08\u5df2\u5185\u7f6e\uff09 |\r\n| \u524d\u7aef\u6846\u67b6 | Bootstrap 5 + jQuery |\r\n| \u56fe\u8868\u5e93 | Chart.js 3.9 |\r\n| CSS \u65b9\u6848 | \u81ea\u7814 PC\/Mobile \u53cc\u7aef\u72ec\u7acb CSS |\r\n| \u7f13\u5b58 | \u6587\u4ef6\u7f13\u5b58\uff08\u9ed8\u8ba4\uff09\/ Redis\uff08\u53ef\u9009\uff09 |\r\n| \u914d\u7f6e\u683c\u5f0f | .env \u6587\u4ef6 |\r\n| \u5bc6\u7801\u52a0\u5bc6 | bcrypt\uff08password_hash\uff09 |\r\n| \u4f1a\u8bdd | PHP Session + CSRF Token |\r\n| \u670d\u52a1\u5668\u7cfb\u7edf | Debian 12\uff08\u63a8\u8350\uff09\uff0c\u517c\u5bb9 Ubuntu 20.04+ \/ CentOS 7+ |\r\n\r\n## 3.2 \u670d\u52a1\u5668\u6700\u4f4e\u914d\u7f6e\r\n\r\n| \u9879\u76ee | \u5efa\u8bae\u914d\u7f6e | \u8bf4\u660e |\r\n|------|---------|------|\r\n| \u64cd\u4f5c\u7cfb\u7edf | Debian 12 | \u63a8\u8350\u4f7f\u7528\u5b9d\u5854\u9762\u677f\u7ba1\u7406 |\r\n| CPU | 1 \u6838\u4ee5\u4e0a | 2 \u6838\u66f4\u4f73 |\r\n| \u5185\u5b58 | 2 GB \u4ee5\u4e0a | \u542b MySQL \u8fd0\u884c\u5f00\u9500 |\r\n| \u78c1\u76d8 | 2 GB \u4ee5\u4e0a\u53ef\u7528\u7a7a\u95f4 | \u542b\u9879\u76ee\u6587\u4ef6 + \u6570\u636e\u5e93 + \u65e5\u5fd7 |\r\n| PHP | **8.1**\uff08\u5fc5\u987b\uff09 | \u4e0d\u652f\u6301 7.x \u53ca\u4ee5\u4e0b |\r\n| MySQL | **5.7+**\uff08\u63a8\u8350\uff09 | \u6700\u4f4e\u517c\u5bb9 5.6.5 |\r\n| Web \u670d\u52a1\u5668 | Nginx 1.18+ | \u63a8\u8350 |\r\n\r\n## 3.3 \u5fc5\u9700 PHP \u6269\u5c55\r\n\r\n| \u6269\u5c55 | \u7528\u9014 | \u662f\u5426\u5fc5\u987b |\r\n|------|------|:---:|\r\n| pdo + pdo_mysql | \u6570\u636e\u5e93\u8fde\u63a5 | \u2705 \u5fc5\u987b |\r\n| gd | \u9a8c\u8bc1\u7801\u751f\u6210\u3001\u56fe\u7247\u5904\u7406 | \u2705 \u5fc5\u987b |\r\n| mbstring | \u591a\u5b57\u8282\u5b57\u7b26\u4e32\u5904\u7406 | \u2705 \u5fc5\u987b |\r\n| fileinfo | \u6587\u4ef6\u7c7b\u578b\u68c0\u6d4b | \u2705 \u5fc5\u987b |\r\n| openssl | \u52a0\u5bc6\u4e0e\u5b89\u5168\u901a\u4fe1 | \u2705 \u5fc5\u987b |\r\n| curl | HTTP \u8fdc\u7a0b\u8bf7\u6c42 | \u2705 \u5fc5\u987b |\r\n| json | JSON \u6570\u636e\u5904\u7406 | \u2705 \u5fc5\u987b |\r\n| xml | XML \u89e3\u6790 | \u2705 \u5fc5\u987b |\r\n| zip | \u538b\u7f29\u5305\u5904\u7406\uff08\u7cfb\u7edf\u66f4\u65b0\uff09 | \u2705 \u5fc5\u987b |\r\n","protected":false},"excerpt":{"rendered":"<p># \u4e09\u3001\u6280\u672f\u6808\u4e0e\u8fd0\u884c\u73af\u5883 ## 3.1 \u6280\u672f\u6808 | \u5c42\u7ea7 | \u6280\u672f\u9009\u578b | |&#8212;&#8212;|&#8212;&#8212;&#8212; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-46","post","type-post","status-publish","format-standard","hentry","category-tutorial"],"_links":{"self":[{"href":"https:\/\/bbs.diuz.cn\/index.php?rest_route=\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bbs.diuz.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bbs.diuz.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bbs.diuz.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bbs.diuz.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46"}],"version-history":[{"count":1,"href":"https:\/\/bbs.diuz.cn\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":47,"href":"https:\/\/bbs.diuz.cn\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions\/47"}],"wp:attachment":[{"href":"https:\/\/bbs.diuz.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bbs.diuz.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bbs.diuz.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}