{"id":15368,"date":"2025-04-18T21:53:30","date_gmt":"2025-04-18T13:53:30","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/15368.html"},"modified":"2025-04-18T21:53:30","modified_gmt":"2025-04-18T13:53:30","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8ubuntu%e4%b8%8ewindows%e4%b8%8a%e5%ae%89%e8%a3%85%e5%92%8c%e9%85%8d%e7%bd%aelighttpd%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/15368.html","title":{"rendered":"\u5982\u4f55\u5728Ubuntu\u4e0eWindows\u4e0a\u5b89\u88c5\u548c\u914d\u7f6elighttpd\u670d\u52a1\u5668"},"content":{"rendered":"<h3> \u80cc\u666f\u7b80\u4ecb <\/h3>\n<p> \u672c\u6587\u57fa\u4e8e\u300aCHOOSING THE RIGHT WEB SERVER\u300b\u7ae0\u8282&#xff0c;\u91cd\u70b9\u8bb2\u8ff0\u4e86lighttpd\u670d\u52a1\u5668\u5728Ubuntu\u4e0eWindows\u5e73\u53f0\u4e0a\u7684\u5b89\u88c5\u548c\u914d\u7f6e\u8fc7\u7a0b\u3002lighttpd\u662f\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u7684web\u670d\u52a1\u5668&#xff0c;\u9002\u5408\u9759\u6001\u5185\u5bb9\u5206\u53d1&#xff0c;\u4e5f\u652f\u6301\u52a8\u6001\u5185\u5bb9\u5904\u7406\u5982PHP\u3002\u672c\u7ae0\u8282\u63d0\u4f9b\u4e86\u4e00\u6b65\u6b65\u7684\u6307\u5bfc&#xff0c;\u65e8\u5728\u5e2e\u52a9\u8bfb\u8005\u5feb\u901f\u642d\u5efa\u5e76\u4f18\u5316lighttpd\u670d\u52a1\u5668\u73af\u5883\u3002 <\/p>\n<h4> \u5728Ubuntu\u4e0a\u5b89\u88c5lighttpd <\/h4>\n<p> \u5728Ubuntu\u7cfb\u7edf\u4e2d&#xff0c;\u6211\u4eec\u63a8\u8350\u4f7f\u7528Aptitude\u5305\u7ba1\u7406\u5668\u6765\u5b89\u88c5lighttpd\u3002\u5b89\u88c5\u547d\u4ee4\u5982\u4e0b&#xff1a; <\/p>\n<p>apt-get install lighttpd lighttpd-doc<\/p>\n<p> \u8be5\u547d\u4ee4\u4f1a\u81ea\u52a8\u5b89\u88c5lighttpd\u53ca\u5176\u6587\u6863\u3002\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;lighttpd\u670d\u52a1\u5c06\u542f\u52a8\u5e76\u76d1\u542c\u9ed8\u8ba4\u7aef\u53e3\u3002\u6b64\u5916&#xff0c;lighttpd\u8fd8\u4f1a\u5b89\u88c5IPv6\u3001Zlib\u3001Bzip2\u3001\u5bc6\u7801\u5b66\u3001SSL\u3001MySQL\u3001Memcached\u3001SQLite\u7b49\u5fc5\u9700\u7684\u6a21\u5757\u3002 <\/p>\n<h4> \u5728Windows\u4e0a\u5b89\u88c5lighttpd <\/h4>\n<p> \u5bf9\u4e8eWindows\u7528\u6237&#xff0c;\u4ee5\u524d\u9700\u8981\u5b89\u88c5Cygwin\u4f5c\u4e3alighttpd\u7684\u4f9d\u8d56&#xff0c;\u4f46\u73b0\u5728\u53ef\u4ee5\u76f4\u63a5\u4ecehttp:\/\/en.wlmp-project.net\/downloads.php\u4e0b\u8f7d\u9002\u7528\u4e8eWindows\u7684lighttpd\u5b89\u88c5\u5305\u3002\u4e0b\u8f7d\u5b89\u88c5\u5411\u5bfc\u540e&#xff0c;\u6309\u7167\u63d0\u793a\u64cd\u4f5c\u5373\u53ef\u5b8c\u6210\u5b89\u88c5\u3002\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;lighttpd\u4f1a\u81ea\u52a8\u6ce8\u518c\u4e3a\u670d\u52a1&#xff0c;\u6bcf\u6b21\u7cfb\u7edf\u542f\u52a8\u65f6\u81ea\u52a8\u8fd0\u884c\u3002 <\/p>\n<h4> \u914d\u7f6elighttpd\u670d\u52a1\u5668 <\/h4>\n<p> lighttpd\u670d\u52a1\u5668\u7684\u914d\u7f6e\u6587\u4ef6\u662f\u4f18\u5316\u670d\u52a1\u5668\u6027\u80fd\u7684\u5173\u952e\u3002\u914d\u7f6e\u6587\u4ef6\u4f4d\u4e8e  \/etc\/lighttpd\/  \u76ee\u5f55\u4e0b\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528  lighttpd \u2013V  \u547d\u4ee4\u67e5\u770b\u5f53\u524d\u670d\u52a1\u5668\u7684\u914d\u7f6e\u8be6\u60c5\u3002\u901a\u8fc7\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6&#xff0c;\u6211\u4eec\u53ef\u4ee5\u8bbe\u7f6e\u6587\u6863\u6839\u76ee\u5f55\u3001\u65e5\u5fd7\u6587\u4ef6\u8def\u5f84\u3001\u76d1\u542c\u7aef\u53e3\u7b49\u3002\u4f8b\u5982&#xff0c;\u4fee\u6539  server.document-root  \u6307\u5411\u4f60\u7684Web\u76ee\u5f55&#xff0c;\u4ee5\u53ca  server.errorlog  \u6307\u5411\u9519\u8bef\u65e5\u5fd7\u6587\u4ef6\u3002 <\/p>\n<h4> \u9a8c\u8bc1PHP\u5b89\u88c5 <\/h4>\n<p> \u8981\u5728lighttpd\u4e0a\u5b89\u88c5PHP&#xff0c;\u63a8\u8350\u4f7f\u7528FastCGI\u7248\u672c\u3002\u5728Unix\u7cfb\u7edf\u4e2d&#xff0c;\u53ef\u4ee5\u901a\u8fc7Aptitude\u5b89\u88c5php5-cgi\u5305&#xff0c;\u5e76\u66f4\u65b0  \/etc\/php5\/cgi\/php.ini  \u914d\u7f6e\u6587\u4ef6\u6765\u786e\u4fddPHP\u6b63\u786e\u5904\u7406PATH_INFO\u53d8\u91cf\u3002\u7136\u540e&#xff0c;\u9700\u8981\u5728lighttpd\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u542f\u7528mod_fastcgi\u6a21\u5757&#xff0c;\u5e76\u8bbe\u7f6efastcgi.server\u9009\u9879&#xff0c;\u4ee5\u6307\u5b9aPHP\u6587\u4ef6\u7684\u5904\u7406\u65b9\u5f0f\u3002 <\/p>\n<p> \u5b8c\u6210PHP\u5b89\u88c5\u540e&#xff0c;\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684phpinfo.php\u6587\u4ef6\u5e76\u8bf7\u6c42\u5b83&#xff0c;\u5982\u679c\u4e00\u5207\u914d\u7f6e\u6b63\u786e&#xff0c;\u4f60\u5e94\u8be5\u80fd\u770b\u5230PHP\u4fe1\u606f\u9875\u9762&#xff0c;\u8fd9\u8868\u660ePHP\u5df2\u7ecf\u6210\u529f\u5b89\u88c5\u5e76\u914d\u7f6e\u5728lighttpd\u670d\u52a1\u5668\u4e0a\u3002 <\/p>\n<h4> \u6027\u80fd\u6d4b\u8bd5 <\/h4>\n<p> \u6027\u80fd\u6d4b\u8bd5\u662f\u4f18\u5316\u670d\u52a1\u5668\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u6b65\u3002\u4f7f\u7528ab\u6d4b\u8bd5\u5de5\u5177\u6a21\u62df\u9759\u6001HTML\u6587\u4ef6\u548cPHP\u5185\u5bb9\u7684\u8d1f\u8f7d&#xff0c;\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u4e86\u89e3\u670d\u52a1\u5668\u5728\u4e0d\u540c\u573a\u666f\u4e0b\u7684\u8868\u73b0\u3002\u901a\u8fc7\u5bf9\u6bd4\u6d4b\u8bd5\u7ed3\u679c&#xff0c;\u6211\u4eec\u53ef\u4ee5\u5bf9\u670d\u52a1\u5668\u8fdb\u884c\u9488\u5bf9\u6027\u7684\u8c03\u4f18\u3002 <\/p>\n<h4> \u8bbe\u7f6e\u8c03\u4f18 <\/h4>\n<p> \u4e3a\u4e86\u63d0\u5347lighttpd\u670d\u52a1\u5668\u7684\u6027\u80fd&#xff0c;\u6211\u4eec\u53ef\u4ee5\u8c03\u6574\u4e00\u4e9b\u5173\u952e\u53c2\u6570\u3002\u4f8b\u5982&#xff0c;\u589e\u52a0\u6587\u4ef6\u63cf\u8ff0\u7b26\u7684\u6570\u91cf\u53ef\u4ee5\u63d0\u9ad8\u670d\u52a1\u5668\u5904\u7406\u5e76\u53d1\u8fde\u63a5\u7684\u80fd\u529b\u3002\u901a\u8fc7\u4fee\u6539  server.max-fds  \u548c  server.max-connections  \u7684\u503c&#xff0c;\u6211\u4eec\u53ef\u4ee5\u63d0\u9ad8lighttpd\u7684\u6027\u80fd\u3002 <\/p>\n<h3> \u603b\u7ed3\u4e0e\u542f\u53d1 <\/h3>\n<p> lighttpd\u4f5c\u4e3a\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u4e14\u6027\u80fd\u4f18\u8d8a\u7684web\u670d\u52a1\u5668&#xff0c;\u7279\u522b\u9002\u5408\u7528\u4e8e\u9759\u6001\u5185\u5bb9\u7684\u6258\u7ba1&#xff0c;\u540c\u65f6\u4e5f\u652f\u6301PHP\u7b49\u52a8\u6001\u5185\u5bb9\u5904\u7406\u3002\u901a\u8fc7\u672c\u6587\u7684\u5b66\u4e60&#xff0c;\u6211\u4eec\u53ef\u4ee5\u4e86\u89e3\u5230\u5982\u4f55\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5b89\u88c5\u548c\u914d\u7f6elighttpd&#xff0c;\u4ee5\u53ca\u5982\u4f55\u901a\u8fc7\u6d4b\u8bd5\u548c\u8c03\u4f18\u6765\u63d0\u5347\u670d\u52a1\u5668\u7684\u6027\u80fd\u3002\u5e0c\u671b\u672c\u6587\u80fd\u4e3a\u6709\u5fd7\u4e8e\u4f7f\u7528lighttpd\u7684\u8bfb\u8005\u63d0\u4f9b\u6709\u4ef7\u503c\u7684\u53c2\u8003\u548c\u542f\u53d1\u3002 <\/p>\n<h3> \u9605\u8bfb\u63a8\u8350 <\/h3>\n<p> \u5982\u679c\u4f60\u5bf9lighttpd\u7684\u9ad8\u7ea7\u914d\u7f6e\u548c\u4f18\u5316\u611f\u5174\u8da3&#xff0c;\u5efa\u8bae\u9605\u8bfblighttpd\u7684\u5b98\u65b9\u6587\u6863&#xff0c;\u4ee5\u83b7\u5f97\u66f4\u6df1\u5165\u7684\u7406\u89e3\u548c\u66f4\u591a\u7684\u914d\u7f6e\u9009\u9879\u3002\u6b64\u5916&#xff0c;\u9488\u5bf9\u6027\u80fd\u8c03\u4f18\u90e8\u5206&#xff0c;\u53c2\u8003\u670d\u52a1\u5668\u6027\u80fd\u4f18\u5316\u7684\u76f8\u5173\u4e66\u7c4d\u548c\u6587\u7ae0&#xff0c;\u53ef\u4ee5\u8fdb\u4e00\u6b65\u63d0\u5347\u4f60\u7684web\u670d\u52a1\u5668\u914d\u7f6e\u6280\u80fd\u3002 <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb773\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86lighttpd\u670d\u52a1\u5668\u5728Ubuntu\u548cWindows\u5e73\u53f0\u4e0a\u7684\u5b89\u88c5\u8fc7\u7a0b\u3001\u914d\u7f6e\u65b9\u6cd5\u548c\u6027\u80fd\u6d4b\u8bd5\u3002\u5305\u62ec\u4f7f\u7528\u4e0d\u540c\u5305\u7ba1\u7406\u5de5\u5177\u5728Ubuntu\u4e0a\u5b89\u88c5lighttpd\uff0c\u4ee5\u53ca\u5728Windows\u4e0a\u901a\u8fc7\u4e0b\u8f7d\u5b89\u88c5\u5411\u5bfc\u8fdb\u884c\u5b89\u88c5\u3002\u8fd8\u6d89\u53ca\u4e86\u5982\u4f55\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u67e5\u770blighttpd\u7684\u7248\u672c\uff0c\u4ee5\u53ca\u5982\u4f55\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u4ee5\u4f18\u5316web\u670d\u52a1\u5668\u6027\u80fd\u3002\u6700\u540e\uff0c\u901a\u8fc7\u6d4b\u8bd5\u9759\u6001\u548cPHP\u5185\u5bb9\u7684\u8d1f\u8f7d\uff0c\u5c55\u793a\u4e86lighttpd\u670d\u52a1\u5668\u7684\u5b9e\u9645\u8868\u73b0\uff0c\u5e76\u7ed9\u51fa\u4e86\u8fdb\u4e00\u6b65\u63d0\u5347\u6027\u80fd\u7684\u8bbe\u7f6e\u8c03\u6574\u5efa\u8bae\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[999,1000,1001,1002,1003],"topic":[],"class_list":["post-15368","post","type-post","status-publish","format-standard","hentry","category-server","tag-lighttpd","tag-ubuntu","tag-windows","tag-1002","tag-1003"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5728Ubuntu\u4e0eWindows\u4e0a\u5b89\u88c5\u548c\u914d\u7f6elighttpd\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\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.wsisp.com\/helps\/15368.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728Ubuntu\u4e0eWindows\u4e0a\u5b89\u88c5\u548c\u914d\u7f6elighttpd\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb773\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86lighttpd\u670d\u52a1\u5668\u5728Ubuntu\u548cWindows\u5e73\u53f0\u4e0a\u7684\u5b89\u88c5\u8fc7\u7a0b\u3001\u914d\u7f6e\u65b9\u6cd5\u548c\u6027\u80fd\u6d4b\u8bd5\u3002\u5305\u62ec\u4f7f\u7528\u4e0d\u540c\u5305\u7ba1\u7406\u5de5\u5177\u5728Ubuntu\u4e0a\u5b89\u88c5lighttpd\uff0c\u4ee5\u53ca\u5728Windows\u4e0a\u901a\u8fc7\u4e0b\u8f7d\u5b89\u88c5\u5411\u5bfc\u8fdb\u884c\u5b89\u88c5\u3002\u8fd8\u6d89\u53ca\u4e86\u5982\u4f55\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u67e5\u770blighttpd\u7684\u7248\u672c\uff0c\u4ee5\u53ca\u5982\u4f55\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u4ee5\u4f18\u5316web\u670d\u52a1\u5668\u6027\u80fd\u3002\u6700\u540e\uff0c\u901a\u8fc7\u6d4b\u8bd5\u9759\u6001\u548cPHP\u5185\u5bb9\u7684\u8d1f\u8f7d\uff0c\u5c55\u793a\u4e86lighttpd\u670d\u52a1\u5668\u7684\u5b9e\u9645\u8868\u73b0\uff0c\u5e76\u7ed9\u51fa\u4e86\u8fdb\u4e00\u6b65\u63d0\u5347\u6027\u80fd\u7684\u8bbe\u7f6e\u8c03\u6574\u5efa\u8bae\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/15368.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T13:53:30+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\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.wsisp.com\/helps\/15368.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/15368.html\",\"name\":\"\u5982\u4f55\u5728Ubuntu\u4e0eWindows\u4e0a\u5b89\u88c5\u548c\u914d\u7f6elighttpd\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T13:53:30+00:00\",\"dateModified\":\"2025-04-18T13:53:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/15368.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/15368.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/15368.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728Ubuntu\u4e0eWindows\u4e0a\u5b89\u88c5\u548c\u914d\u7f6elighttpd\u670d\u52a1\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5728Ubuntu\u4e0eWindows\u4e0a\u5b89\u88c5\u548c\u914d\u7f6elighttpd\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/15368.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728Ubuntu\u4e0eWindows\u4e0a\u5b89\u88c5\u548c\u914d\u7f6elighttpd\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb773\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86lighttpd\u670d\u52a1\u5668\u5728Ubuntu\u548cWindows\u5e73\u53f0\u4e0a\u7684\u5b89\u88c5\u8fc7\u7a0b\u3001\u914d\u7f6e\u65b9\u6cd5\u548c\u6027\u80fd\u6d4b\u8bd5\u3002\u5305\u62ec\u4f7f\u7528\u4e0d\u540c\u5305\u7ba1\u7406\u5de5\u5177\u5728Ubuntu\u4e0a\u5b89\u88c5lighttpd\uff0c\u4ee5\u53ca\u5728Windows\u4e0a\u901a\u8fc7\u4e0b\u8f7d\u5b89\u88c5\u5411\u5bfc\u8fdb\u884c\u5b89\u88c5\u3002\u8fd8\u6d89\u53ca\u4e86\u5982\u4f55\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u67e5\u770blighttpd\u7684\u7248\u672c\uff0c\u4ee5\u53ca\u5982\u4f55\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u4ee5\u4f18\u5316web\u670d\u52a1\u5668\u6027\u80fd\u3002\u6700\u540e\uff0c\u901a\u8fc7\u6d4b\u8bd5\u9759\u6001\u548cPHP\u5185\u5bb9\u7684\u8d1f\u8f7d\uff0c\u5c55\u793a\u4e86lighttpd\u670d\u52a1\u5668\u7684\u5b9e\u9645\u8868\u73b0\uff0c\u5e76\u7ed9\u51fa\u4e86\u8fdb\u4e00\u6b65\u63d0\u5347\u6027\u80fd\u7684\u8bbe\u7f6e\u8c03\u6574\u5efa\u8bae\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/15368.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T13:53:30+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/15368.html","url":"https:\/\/www.wsisp.com\/helps\/15368.html","name":"\u5982\u4f55\u5728Ubuntu\u4e0eWindows\u4e0a\u5b89\u88c5\u548c\u914d\u7f6elighttpd\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T13:53:30+00:00","dateModified":"2025-04-18T13:53:30+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/15368.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/15368.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/15368.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728Ubuntu\u4e0eWindows\u4e0a\u5b89\u88c5\u548c\u914d\u7f6elighttpd\u670d\u52a1\u5668"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/15368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=15368"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/15368\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=15368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=15368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=15368"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=15368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}