异常(exception):不允许写入/home/vishu/.config/psysh。
在/usr/share/nginx/html/example/vendor/psy/psysh/src/ConfigPaths.php:228
@\mkdir($dir, 0700, true);
}
if (!\is_dir($dir) || !\is_writable($dir)) {
\trigger_error(\sprintf('Writing to %s is not allowed.', $dir), E_USER_NOTICE);
return false;
}
最佳答案
如果项目处于开发状态,则可以将整个storage
目录权限更改为777:
sudo chmod -R 777 storage/