在linux下部署tp5时抛异常

浏览:10342 发布日期:2016/07/02 分类:ThinkPHP5专区 关键字: tp5异常 tp5安装
Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'mkdir(): Permission denied' in /usr/local/apache2/htdocs/tp5/thinkphp/library/think/log/driver/File.php:44 Stack trace: #0 [internal function]: think\Error::appError(2, 'mkdir(): Permis...', '/usr/local/apac...', 44, Array) #1 /usr/local/apache2/htdocs/tp5/thinkphp/library/think/log/driver/File.php(44): mkdir('/usr/local/apac...', 493, true) #2 /usr/local/apache2/htdocs/tp5/thinkphp/library/think/Log.php(135): think\log\driver\File->save(Array) #3 /usr/local/apache2/htdocs/tp5/thinkphp/library/think/Error.php(84): think\Log::save() #4 [internal function]: think\Error::appShutdown() #5 {main} thrown in /usr/local/apache2/htdocs/tp5/thinkphp/library/think/log/driver/File.php on line 44
最佳答案
评论( 相关
后面还有条评论,点击查看>>