RuntimeException in EncryptionServiceProvider.php line 29: No supported encrypter found. The cipher and / or key length are invalid

  |   laravel php

在浏览器输入:localhost:8000

这时候突然报错信息:

RuntimeException in EncryptionServiceProvider.php line 29: No supported encrypter found. The cipher and / or key length are invalid

你能试试命令生成key:

php artisan key:generate

参考地址:

http://stackoverflow.com/questions/34371551/runtimeexception-in-encryptionserviceprovider-php-line-29-no-supported-encrypte