#0 [2]ErrorException in Library.php line 90

mkdir(): Permission denied

  1. foreach ($config['events'] as $event) {
  2. $this->app->event->listen($event, function () use ($event) {
  3. app(ShareCacheServiceManager::class)->service()->delByEvent($event, func_get_args());
  4. });
  5. }*/
  6. }
  7. protected function getCacheConfig()
  8. {
  9. $path = runtime_path('config').'sharecache.php';
  10. is_dir(dirname($path)) || mkdir(dirname($path), 0777, true);
  11. if (file_exists($path)) {
  12. return require $path;
  13. }
  14. return tap(app(ShareCacheServiceManager::class)->getConfig()->cacheable(), function ($config) use ($path) {
  15. file_put_contents($path,'<?php return ' . var_export($config, true) . ';' . PHP_EOL);
  16. });
  17. }

Call Stack

  1. in Library.php line 90
  2. at Error->appError()
  3. at mkdir() in Library.php line 90
  4. at Library->getCacheConfig() in Library.php line 68
  5. at Library->registerFlushEvent() in Library.php line 50
  6. at Library->boot()
  7. at ReflectionMethod->invokeArgs() in Container.php line 329
  8. at Container->invokeMethod() in Container.php line 362
  9. at Container->invoke() in App.php line 225
  10. at App->bootService() in App.php line 497
  11. at App->think\{closure}()
  12. at array_walk() in App.php line 498
  13. at App->boot() in BootService.php line 24
  14. at BootService->init() in App.php line 463
  15. at App->initialize() in Http.php line 192
  16. at Http->initialize() in Http.php line 169
  17. at Http->run() in RuntimeService.php line 234
  18. at RuntimeService::doWebsiteInit() in Init.php line 63
  19. at require('/www/wwwroot/SaasAdm...') in index.php line 134

Environment Variables

GET Data
s /100809/215236.html
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_X_FORWARDED_FOR 3.238.142.134
HTTP_X_REAL_IP 3.238.142.134
HTTP_HOST www.fishsou.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME 47.238.187.191
SERVER_PORT 81
SERVER_ADDR 172.19.30.205
REMOTE_PORT 36916
REMOTE_ADDR 8.217.199.247
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/SaasAdmin/public
DOCUMENT_URI /index.php
REQUEST_URI /100809/215236.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/100809/215236.html
SCRIPT_FILENAME /www/wwwroot/SaasAdmin/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711641088.2037
REQUEST_TIME 1711641088