当文件结构为:
时,它工作正常/bin
....
....
/public_ftp
/public_html/app
/public_html/bootstrap
...
/public_html/public
....
....
/www
但当我把它改为:
/bin
/laravel/app
/laravel/bootstrap
....
....
/public_ftp
...
/public_html/css
/public_html/js
/public_html/index.php
....
....
/www
我也将index.php改为:
$app = require_once __DIR__.'/../laravel/bootstrap/app.php';
require __DIR__.'/../laravel/bootstrap/autoload.php';
但是当我打开index.php时它会显示
糟糕,看起来出了问题。
laravel log
production.ERROR: exception 'RuntimeException' with message 'The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.' in /home/fabitzza/laravel/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:43
此错误在此之前不存在public_html
答案 0 :(得分:0)
运行此命令
node.xy
使用
清除配置缓存php artisan key:generate
希望这会奏效!