<\/strong><\/p>\n \u9019\u6642\u5c31\u53ef\u4ee5\u5148\u8003\u616e\u5c07 php.ini \u7684 session.save_path = \/tmp<\/span> \u9019\u6a23\u7684\u53c3\u6578\uff0c\u6539\u5230\u5225\u7684\u8def\u9015\u53bb\uff0c\u6bd4\u65b9\u8aaa\/home\/tmp<\/span> \uff1b\u800c\u9700\u8981\u6ce8\u610f\u7684\u662f\/home\/tmp<\/span> \uff0c\u5c6c\u6027\u8981\u6539\u70ba 777 \uff0c\u5426\u5247\u6a94\u6848\u7121\u6cd5\u5beb\u5165\u3002\u6539\u6389\u5f8c\uff0c\u5c31\u6062\u5fa9\u6b63\u5e38\u7684\u8a71\uff0c\u9019\u6a23\u5c31\u78ba\u5b9a\u662f\u539f\u5148\u7684 \/tmp \u9019\u500b\u76ee\u9304\u6709\u7570\u5e38\uff0c\u53ef\u80fd\u662f\u6a94\u6848\u6578\u592a\u591a\uff0c\u8d85\u904e\u4f7f\u7528\u4e0a\u9650\u5f15\u8d77\uff0c\u4e5f\u53ef\u80fd\u662fparttion\u7684\u554f\u984c\uff0c\u5c31\u8981\u5728\u984d\u5916\u53bb\u4fee\u5fa9\uff0c\u800c\u9019\u90e8\u4efd\uff0c\u56e0\u70ba\u4e0d\u5728\u9019\u4e00\u7bc7\u4e3b\u984c\u7684\u5167\u5bb9\u88e1\uff0c\u6709\u6a5f\u6703\u6211\u5011\u6703\u5728\u4ecb\u7d39\u3002<\/strong><\/p>\n \u00a0<\/strong><\/strong><\/p>\n (\u672c\u7bc7\u6587\u7ae0\u7531unethost.com\u5ba2\u670d\u4eba\u54e1<\/a>-Michael\u5b8c\u6210)<\/strong><\/p>\n \u8a3b\u518a\u7db2\u57df\u8acb\u9ede\u6211<\/a>\u3002\u6211\u5011\u63d0\u4f9b\u865b\u64ec\u4e3b\u6a5f\u8a66\u7528\uff0c\u4e03\u5929\u6eff\u610f\u4fdd\u8b49\uff0c<\/span><\/strong> \u4f7f\u7528php\u9019\u985eopensource\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u6240\u64b0\u5beb\u7684\u61c9\u7528\u7a0b\u5f0f\uff0c\u7576\u5728\u700f\u89bd\u5668\u4e0a\u57f7\u884c\u7a0b\u5f0f\u6642\u51fa\u73fe\u932f\u8aa4\uff0c\u901a\u5e38\u90fd\u6703\u6709 e … \u95b1\u8b80\u5168\u6587 \u5982\u4f55\u89e3\u6c7a php \u51fa\u73fe Warning: session_start() \u7684\u932f\u8aa4\u8a0a\u606f\uff1f<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[226,151],"tags":[380,49,381,379,377,378],"_links":{"self":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/1987"}],"collection":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/comments?post=1987"}],"version-history":[{"count":4,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/1987\/revisions"}],"predecessor-version":[{"id":1993,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/1987\/revisions\/1993"}],"wp:attachment":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/media?parent=1987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/categories?post=1987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/tags?post=1987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n\u5176\u4e2d\u6ce8\u610f\u5230\u9019\u4e00\u53e5: output started<\/span> \uff0c\u9019\u6a23\u7684\u8a71\uff0c\u53ef\u4ee5\u67e5\u770b\u770b php.ini \u7684output_buffering<\/span> \u5982\u679c\u662f\u70baoff<\/span>\uff0c\u8acb\u6539\u8a2d\u70baOn<\/span>\u4e4b\u5f8c\uff0c\u5728\u91cd\u555fweb server\uff0c\u901a\u5e38\u5c31\u53ef\u4ee5\u89e3\u6389\u3002<\/strong>
\n2.\u00a0 \u5982\u679coutput_buffering=On<\/span>\u9084\u662f\u6703\u51fa\u73fe\u932f\u8aa4\uff0c\u5247\u8981\u6539\u8abf session.auto_start<\/span> \u7531 0<\/span> \u6539\u70ba 1<\/span>\uff0c\u5728\u91cd\u958b web server\u8a66\u8a66\u3002
\n<\/strong><\/p>\n
\n3. \u6700\u5f8c\u9084\u6709\u53e6\u4e00\u7a2e\u932f\u8aa4\u8a0a\u606f\uff0c\u8df3\u51fa\u7684\u662f:
\nWarning:\u00a0session_start()\u00a0[function.session-start]:\u00a0open(\/tmp\\sess_9899cb5ea249708b633fcde3h6fdd0d,\u00a0O_RDWR)\u00a0failed:
\n<\/strong><\/div>\n
\n \u529f\u80fd\u5b8c\u6574\u4f7f\u7528\u4e0d\u53d7\u9650\u5236\uff0c\u6b61\u8fce\u9ede\u6211<\/a>\u7533\u8acb\u3002<\/span><\/strong><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"