Fatal error: Uncaught Exception: 错误类型(警告) : file_put_contents(/var/www/html/bbs/Tmp/log.txt): failed to open stream: Permission denied in /var/www/html/bbs/HY/lib/HY.lib.php:166Stack trace:#0 [internal function]: HY\HY::hy_error(2, 'file_put_conten...', '/var/www/html/b...', 7, Array)#1 /var/www/html/bbs/HY/class/Logs.php(7): file_put_contents('/var/www/html/b...', '\xE9\x94\x99\xE8\xAF\xAF\xE7\xB1\xBB\xE5\x9E\x8B(\xE8\xAD...', 8)#2 /var/www/html/bbs/HY/lib/HY.lib.php(131): HY\Logs->log('\xE9\x94\x99\xE8\xAF\xAF\xE7\xB1\xBB\xE5\x9E\x8B(\xE8\xAD...')#3 [internal function]: HY\HY::hy_exception(Object(Exception))#4 {main} thrown in /var/www/html/bbs/HY/lib/HY.lib.php on line 166
上面是错误提示。 环境: ubuntu 14.04 64bit php7.0.10 apache 2.4.7 (Ubuntu) 启用了rewrite模块
mysql5.5.50 这种错误是环境问题还是什么?
|