{"id":189,"date":"2018-11-24T16:32:06","date_gmt":"2018-11-24T08:32:06","guid":{"rendered":"https:\/\/wp.dj47.top\/?p=189"},"modified":"2021-10-20T16:19:02","modified_gmt":"2021-10-20T08:19:02","slug":"%e4%bf%ae%e6%94%b9phpmyadmin%e4%b8%ad%e7%9a%84%e9%bb%98%e8%ae%a4%e7%99%bb%e9%99%86%e8%b6%85%e6%97%b6%e6%97%b6%e9%97%b4","status":"publish","type":"post","link":"https:\/\/www.djlog.cn\/?p=189","title":{"rendered":"\u4fee\u6539phpmyadmin\u4e2d\u7684\u9ed8\u8ba4\u767b\u9646\u8d85\u65f6\u65f6\u95f4"},"content":{"rendered":"<p style=\"line-height: 1.5;\"><span style=\"box-sizing: border-box; color: #333333; font-family: simsun, serif; font-size: 14px; background-color: #ffffff;\">phpmyadmin\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u7ecf\u5e38\u51fa\u73b0\u201c\u767b\u9646\u8d85\u65f6\uff081440\u79d2\u672a\u6d3b\u52a8\uff09\uff0c\u8bf7\u91cd\u65b0\u767b\u5f55\u201d\uff0c\u5f88\u70e6<\/span><br style=\"box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\" \/><span style=\"font-family: simsun, serif;\"><span style=\"box-sizing: border-box; color: #333333; font-size: 14px; font-weight: bold; background-color: #ffffff;\">\u89e3\u51b3\u65b9\u6cd5\u5982\u4e0b\uff1a<br style=\"box-sizing: border-box;\" \/><\/span><span style=\"box-sizing: border-box; color: #333333; font-size: 14px; background-color: #ffffff;\">\u4fee\u6539php.ini\uff0c\u627e\u5230<\/span><\/span><br style=\"box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\" \/><span style=\"font-family: simsun, serif;\"><span style=\"box-sizing: border-box; font-size: 14px; background-color: #ffffff; color: #0000ff;\">session.gc_maxlifetime = 1440<br style=\"box-sizing: border-box;\" \/><\/span><span style=\"box-sizing: border-box; color: #333333; font-size: 14px; background-color: #ffffff;\">\u5c06\u6570\u503c\u6539\u5927\u5c31\u884c\u4e86\uff0c\u7136\u540e\u4f7f\u4e4b\u751f\u6548<\/span><\/span><br style=\"box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\" \/><span style=\"box-sizing: border-box; color: #333333; font-family: simsun, serif; font-size: 14px; background-color: #ffffff;\">\u8bd5\u9a8c\u4e86\u4e00\u4e0b\uff0c\u7ed3\u679c\u4e0d\u597d\u4f7f\u3002<\/span><br style=\"box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\" \/><span style=\"font-family: simsun, serif;\"><span style=\"box-sizing: border-box; color: #333333; font-size: 14px; font-weight: bold; background-color: #ffffff;\">\u6700\u7ec8\u89e3\u51b3\u65b9\u6848\uff1a<br style=\"box-sizing: border-box;\" \/><\/span><span style=\"box-sizing: border-box; color: #333333; font-size: 14px; background-color: #ffffff;\">\u627e\u5230 phpMyAdmin \/ libraries \/ config.default.php \u6587\u4ef6\uff0c\u6253\u5f00\uff0c\u4fee\u6539<\/span><\/span><br style=\"box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\" \/><span style=\"box-sizing: border-box; color: #333333; font-family: simsun, serif; font-size: 14px; background-color: #ffffff;\">$cfg[&#8216;LoginCookieValidity&#8217;] = 1440;<\/span><br style=\"box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\" \/><span style=\"box-sizing: border-box; color: #333333; font-family: simsun, serif; font-size: 14px; background-color: #ffffff;\">\u5c061440\u4fee\u6539\u6210\u66f4\u5927\u7684\u503c\u5373\u53ef\u3002<\/span><br style=\"box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\" \/><br style=\"box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: #ffffff;\" \/><span style=\"box-sizing: border-box; font-family: simsun, serif; font-size: 14px; background-color: #ffffff; color: #ff0000;\"><span style=\"box-sizing: border-box; font-weight: bold;\">\u6ce8\u610f\uff1a<\/span>$cfg[&#8216;LoginCookieValidity&#8217;]\u7684\u503c\u4e0d\u80fd\u5927\u4e8ephp.ini\u91cc\u7684session.gc_maxlifetime\u7684\u503c\uff0c\u5426\u5219phpmyadmin \u91cc\u4f1a\u51fa\u73b0\u201c\u60a8\u7684 PHP \u914d\u7f6e\u53c2\u6570 session.gc_maxlifetime (\u5916\u94fe\uff0c\u82f1\u6587) \u77ed\u4e8e\u60a8\u5728 phpMyAdmin \u4e2d\u8bbe\u7f6e\u7684 Cookies \u6709\u6548\u671f\uff0c\u56e0\u6b64\u60a8\u7684\u767b\u5f55\u4f1a\u8bdd\u6709\u6548\u671f\u5c06\u4f1a\u6bd4\u60a8\u5728 phpMyAdmin \u4e2d\u8bbe\u7f6e\u7684\u65f6\u95f4\u8981\u66f4\u77ed\u3002\u201d\u9519\u8bef\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>phpmyadmin\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u7ecf\u5e38\u51fa\u73b0\u201c\u767b\u9646\u8d85\u65f6\uff081440\u79d2\u672a\u6d3b\u52a8\uff09\uff0c\u8bf7\u91cd\u65b0\u767b\u5f55\u201d\uff0c\u5f88\u70e6\u89e3\u51b3\u65b9\u6cd5\u5982\u4e0b\uff1a\u4fee\u6539p [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[27],"class_list":["post-189","post","type-post","status-publish","format-standard","hentry","category-php","tag-phpmyadmin"],"_links":{"self":[{"href":"https:\/\/www.djlog.cn\/index.php?rest_route=\/wp\/v2\/posts\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.djlog.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.djlog.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.djlog.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.djlog.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=189"}],"version-history":[{"count":0,"href":"https:\/\/www.djlog.cn\/index.php?rest_route=\/wp\/v2\/posts\/189\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.djlog.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.djlog.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.djlog.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}