<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<channel>
<title>拾光 - 解决方法</title>
<link>https://www.ishiguang.cn/tag/%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95/</link>
<atom:link href="https://www.ishiguang.cn/feed/tag/%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95/" rel="self" type="application/rss+xml" />
<language>zh-CN</language>
<description></description>
<lastBuildDate>Tue, 16 Sep 2025 08:50:34 +0800</lastBuildDate>
<pubDate>Tue, 16 Sep 2025 08:50:34 +0800</pubDate>
<item>
<title>phpstudy运行PHP网站出现404、500权限不足解决方法</title>
<link>https://www.ishiguang.cn/21836.html</link>
<guid>https://www.ishiguang.cn/21836.html</guid>
<pubDate>Tue, 16 Sep 2025 08:50:34 +0800</pubDate>
<dc:creator>ssr</dc:creator>
<description><![CDATA[phpstudy运行PHP网站出现404、500解决方法问题：phpstudy运行PHP网站时候，首页没有问题出现404、500、或者出现权限不足最开始的时候我以为是文件权限不足后来看到别人的解...]]></description>
<content:encoded xml:lang="zh-CN"><![CDATA[
<p>phpstudy运行PHP网站出现404、500解决方法<br>问题：phpstudy运行PHP网站时候，首页没有问题出现404、500、或者出现权限不足</p><p>最开始的时候我以为是文件权限不足后来看到别人的解决方法才解决，解决方法如下</p><p>第一步<br><img src="https://up.ishiguang.cn/uploads/2025/09/2279226194.png?imageMogr2/format/webp" alt="2025-09-16T00:44:32.png" title="2025-09-16T00:44:32.png"><br>第二步在这个位置加入这段代码</p><p><img src="https://up.ishiguang.cn/uploads/2025/09/201225262.png?imageMogr2/format/webp" alt="2025-09-16T00:45:49.png" title="2025-09-16T00:45:49.png"></p><pre><code>#autoindex on;
  if (!-e $request_filename) {
    rewrite ^(.*)$ /index.php?s=/$1 last;
    break;
  }  </code></pre><p>然后修改完成保存文件，并重启一下网站即可解决。</p>
]]></content:encoded>
<slash:comments>0</slash:comments>
<comments>https://www.ishiguang.cn/21836.html#comments</comments>
<wfw:commentRss>https://www.ishiguang.cn/feed/tag/%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95/</wfw:commentRss>
</item>
</channel>
</rss>