Mac 下安装thinkphp5 出错

浏览:4554 发布日期:2016/11/04 分类:ThinkPHP5专区 关键字: thinkphp5
Mac 下利用自带的APACHE 安装tp5;
项目安装地址:
/Library/WebServer/Documents/thinkphp5

其余配置都没有问题,页面也能访问了,读写权限没有问题。已经775 了。
现在就是提示错误,望大家帮忙看一下,多谢。

不知道是不是Apache用户组的问题。


完全开发手册

Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'mkdir(): Permission denied' in /Library/WebServer/Documents/thinkphp5/thinkphp/library/think/log/driver/File.php:46 Stack trace: #0 [internal function]: think\Error::appError(2, 'mkdir(): Permis...', '/Library/WebSer...', 46, Array) #1 /Library/WebServer/Documents/thinkphp5/thinkphp/library/think/log/driver/File.php(46): mkdir('/Library/WebSer...', 493, true) #2 /Library/WebServer/Documents/thinkphp5/thinkphp/library/think/Log.php(149): think\log\driver\File->save(Array) #3 /Library/WebServer/Documents/thinkphp5/thinkphp/library/think/Error.php(84): think\Log::save() #4 [internal function]: think\Error::appShutdown() #5 {main} thrown in /Library/WebServer/Documents/thinkphp5/thinkphp/library/think/log/driver/File.php on line 46

附件 QQ20161104-0.png ( 157.62 KB 下载:4 次 )

最佳答案
评论( 相关
后面还有条评论,点击查看>>