ThinkPHP
错误
failed to open stream: Permission denied
解决办法:
1、登录到服务器,找到本程序所在目录,假设为“example”;
2、执行命令“chown www:www example -R”;
使用
use think\controller报错“Class 'think\controller' not found
解决办法:
原来是Controller 没有大写造成的!
ThinkPHP
错误
failed to open stream: Permission denied
解决办法:
1、登录到服务器,找到本程序所在目录,假设为“example”;
2、执行命令“chown www:www example -R”;
使用
use think\controller报错“Class 'think\controller' not found
解决办法:
原来是Controller 没有大写造成的!