老师,我在centos中搭好了tp5的环境把我自己的网站了上去但是没有效果
这是www-error的错误代码
[07-Mar-2018 17:09:15 PRC] PHP Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'error_log(/data/www/mytpmall/runtime/log/201803/07.log): failed to open stream: Permission denied' in /data/www/mytpmall/thinkphp/library/think/log/driver/File.php:125
Stack trace:
#0 [internal function]: think\Error::appError(2, 'error_log(/data...', '/data/www/mytpm...', 125, Array)
#1 /data/www/mytpmall/thinkphp/library/think/log/driver/File.php(125): error_log('---------------...', 3, '/data/www/mytpm...')
#2 /data/www/mytpmall/thinkphp/library/think/log/driver/File.php(80): think\log\driver\File->write('[ info ] [ LANG...', '/data/www/mytpm...')
#3 /data/www/mytpmall/thinkphp/library/think/Log.php(179): think\log\driver\File->save(Array)
#4 /data/www/mytpmall/thinkphp/library/think/Error.php(93): think\Log::save()
#5 [internal function]: think\Error::appShutdown()
#6 {main}
thrown in /data/www/mytpmall/thinkphp/library/think/log/driver/File.php on line 125然后我在/data/www/mytpmall/runtime里执行chmod -R 777 log也没有解决,麻烦老师帮我看一下,谢谢