{"id":156,"date":"2019-05-10T09:32:56","date_gmt":"2019-05-10T09:32:56","guid":{"rendered":"http:\/\/pro369.com\/php\/?p=156"},"modified":"2019-05-10T09:32:56","modified_gmt":"2019-05-10T09:32:56","slug":"%e9%81%8b%e8%a1%8cphp%e5%87%ba%e7%8f%be-no-input-file-specified-%e9%8c%af%e8%aa%a4%e7%9a%84%e8%a7%a3%e6%b1%ba%e8%be%a6%e6%b3%95","status":"publish","type":"post","link":"https:\/\/por.tw\/php\/%e9%81%8b%e8%a1%8cphp%e5%87%ba%e7%8f%be-no-input-file-specified-%e9%8c%af%e8%aa%a4%e7%9a%84%e8%a7%a3%e6%b1%ba%e8%be%a6%e6%b3%95\/","title":{"rendered":"\u904b\u884cPHP\u51fa\u73fe No input file specified \u932f\u8aa4\u7684\u89e3\u6c7a\u8fa6\u6cd5"},"content":{"rendered":"<p><font size=\"3\"><strong><br \/> <font color=\"#008000\">APACHE\u4f3a\u670d\u5668\u51fa\u73feNo input file specified.\u7684\u5b8c\u7f8e\u89e3\u6c7a\u5c08\u6848<\/font><\/p>\n<p> \u555f\u7528REWRITE\u7684\u507d\u975c\u614b\u529f\u80fd\u7684\u6642\u5019\uff0c\u9996\u9801\u53ef\u4ee5\u8a2a\u554f\uff0c\u800c\u8a2a\u554f\u5167\u9801\u7684\u6642\u5019\uff0c\u5c31\u63d0\u793a\uff1a&ldquo;No input file specified.&rdquo;<\/p>\n<p> \u539f\u56e0\u5728\u65bc\u4f7f\u7528\u7684PHP\u662ffast_cgi\u6a21\u5f0f\uff0c\u800c\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u4e0d\u80fd\u6b63\u78ba\u8b58\u5225path_info\u6240\u9020\u6210\u7684\u932f\u8aa4\uff0cWordpress\u7684\u507d\u975c\u614b\u4e5f\u6709\u4e00\u6a23\u7684\u554f\u984c\u3002<\/p>\n<p> <font color=\"#0000FF\">WordPress\u7a0b\u5f0f\u9810\u8a2d\u7684.htaccess\u88e1\u9762\u7684\u898f\u5247\uff1a<\/font><\/p>\n<p> RewriteEngine On<br \/> RewriteBase \/<br \/> RewriteCond %{REQUEST_FILENAME} !-f<br \/> RewriteCond %{REQUEST_FILENAME} !-d<br \/> RewriteRule ^(.*)$ \/index.php\/$1 [L]<\/p>\n<p> &ldquo;No input file specified.&rdquo;\uff0c\u662f\u6c92\u6709\u5f97\u5230\u6709\u6548\u7684\u6a94\u6848\u8def\u5f91\u9020\u6210\u7684\u3002<\/p>\n<p> <font color=\"#FF0000\">\u4fee\u6539\u507d\u975c\u614b\u898f\u5247\uff0c\u5982\u4e0b\uff1a<\/font><\/p>\n<p> RewriteEngine On<br \/> RewriteBase \/<br \/> RewriteCond %{REQUEST_FILENAME} !-f<br \/> RewriteCond %{REQUEST_FILENAME} !-d<br \/> RewriteRule ^(.*)$ \/index.php?\/$1 [L]<\/p>\n<p> \u6709\u6c92\u6709\u767c\u73fe\u4e0d\u540c\uff1f<\/p>\n<p> \u5176\u5be6\u5c31\u662f\u5728\u6b63\u5247\u7d50\u679c&ldquo;\/$1&rdquo;\u524d\u9762\u591a\u52a0\u4e86\u4e00\u500b&ldquo;?&rdquo;\u865f\uff0c\u554f\u984c\u4e5f\u5c31\u96a8\u4e4b\u89e3\u6c7a\u4e86\u3002<br \/> <\/strong><\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>APACHE\u4f3a\u670d\u5668\u51fa\u73feNo input file specified.\u7684\u5b8c\u7f8e\u89e3\u6c7a\u5c08\u6848 \u555f\u7528REWRITE\u7684\u507d\u975c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":383,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[22],"class_list":["post-156","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-phpmyadmin","tag-php"],"_links":{"self":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/156"}],"collection":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":0,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/156\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media\/383"}],"wp:attachment":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media?parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/categories?post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/tags?post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}