创建laravel项目时打开浏览器常见错误
1、Whoops, looks like something went wrong.
打开:D:\java\wamp\www\subway\app\config\app.php 修改:'debug' => true, debug基本为true
2、No supported encrypter found. The cipher and / or key length are invalid.
终端使用如下命令:php artisan key:generate,
将生成的key复制到config/app.php替换82行的APP_KEY键值。
3、OpenSSL did not produce a secure random number.
解决:php.ini 启用 extension=php_openssl.dll 扩展后,重启wamp服务。