Have you changed from dev to production in env? And I would hard code those configs in for production, don't use the env file.
Oct 11, 2016
6
Level 1
Laravel and Linux: env() the $value always return false
Hi guys,
I made a website using Laravel 5.3. The website works perfect on my laptop (localhost). I uploaded into a Linux hosting and I got the error "The only supported ciphers are AES-128-CBC and AES-256-CBC". I found that the problem was at env() function in helpers.php at line 435. The $value always return false that means the result of getenv($key) return false. But, it works good with Window, Wampserver 3 64bit.
I have googled to find the answer but found nothing. Is that the problem of Laravel with Linux server? Please help!
Thanks a lot. Tommy
Please or to participate in this conversation.