laravel安装错误

时间:2016-07-28 06:54:08

标签: php laravel

在compile.php第7772行中发生此错误:

at EncryptionServiceProvider->getEncrypterForKeyAndCipher('SomeRandomString', 'AES-256-CBC') in compiled.php line 7762
at EncryptionServiceProvider->Illuminate\Encryption\{closure}(object(Application), array()) in compiled.php line 1353
at Container->build(object(Closure), array()) in compiled.php line 1309

1 个答案:

答案 0 :(得分:1)

尝试

php artisan config:clear

然后通过

为您的应用程序生成一个新密钥
php artisan key:generate