log.php(157),Log出现permission Denied的错误
我之前是可以寫log的,最近發現寫不了了,我刪掉重來也不可以。請問這個改怎么處理!
( ! )?Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'mkdir(): Permission denied' in /Applications/XAMPP/xamppfiles/htdocs/zerg/thinkphp/library/think/log/driver/File.php on line?49
( ! )?think\exception\ErrorException: mkdir(): Permission denied in /Applications/XAMPP/xamppfiles/htdocs/zerg/thinkphp/library/think/log/driver/File.php on line?49
Call Stack
#
Time
Memory
Function
Location
1 ? ?7.0106 ? ?2252112 ? ?think\Error::appShutdown( ) ? ?.../Error.php:0
2 ? ?7.0106 ? ?2253520 ? ?think\Log::save( ) ? ?.../Error.php:84
3 ? ?7.0124 ? ?2287464 ? ?think\log\driver\File->save( ???, ??? ) ? ?.../Log.php:157
4 ? ?7.0126 ? ?2288336 ? ?mkdir?( ???, ???, ??? ) ? ?.../File.php:49
5 ? ?7.0128 ? ?2290040 ? ?think\Error::appError( ???, ???, ???, ???, ??? ) ? ?.../File.php:49
總結
以上是生活随笔為你收集整理的log.php(157),Log出现permission Denied的错误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python爬虫记录时间_Python新
- 下一篇: php gd 缩略图,[PHP GD库]