In this tutorial im going to solve this error Unsupported cipher or incorrect key length. Supported ciphers are: aes-128-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm, this error is coming when i run below code.
php artisan serve
Erorr –
Unsupported cipher or incorrect key length. Supported ciphers are: aes-128-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm.
Solutions :-
run :
composer dump-autoload
delete .env
cp .env.example .env
php artisan key:generate
php artisan serve
Now problem has been resolved. šš