我刚刚通过composer安装了Laravel:
当我打开"tlaravel.loc/"时,会显示包含所有目录的核心文件夹:
如果我访问http://tlaravel.loc/public/,会出现500错误和以下信息:Whoops, looks like something went wrong.
解决500错误后,我仍然在页面上看到以下错误信息:Whoops, looks like something went wrong。要解决此问题,我需要将以下目录的权限更改为可写: - public - bootstrap/cache - storage
OS - Windows 8;
Local Server - Open Server;
当我打开"tlaravel.loc/"时,会显示包含所有目录的核心文件夹:
![Image with core directory](https://istack.dev59.com/hf5a1.webp)
解决500错误后,我仍然在页面上看到以下错误信息:Whoops, looks like something went wrong。要解决此问题,我需要将以下目录的权限更改为可写: - public - bootstrap/cache - storage