发生情况:将thinkPHP从官网上下了 http://thinkphp.cn
然后安装了phpstudy和PHPstorm,并将thinkPHP解压到www路径下
在用PHPstorm打开 thinkPHP项目
(PHPstorm 参考 https://blog.csdn.net/u012861467/article/details/54692236
https://blog.csdn.net/smallxiannotimmortal/article/details/78528633)
在网页上就出现了 Forbidden You don't have permission to access /phpStudyTest/application/index/controller/Index.php on this server.
与此同时,在thinkPHP同个目录下的index.php却能够打开,于是,就把thinkPHP里边的文件copy,(www/thinkphp/文件------>www/文件)就可以了
先到这,我就又作的新建了个文件夹 thinkPHP1,并将文件拉进去(www/thinkphp1/文件) 结果也可以了
虽然问题解决了,但是 并不理解这里边的逻辑,只是误打误撞。。。
如果你明白,希望多多指教