Forbidden You don't have permission to access /phpStudyTest/application/index/controller/Index.php ...

发生情况:将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/文件) 结果也可以了

 

虽然问题解决了,但是 并不理解这里边的逻辑,只是误打误撞。。。

如果你明白,希望多多指教

转载于:https://www.cnblogs.com/yang1com/p/9366936.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值