iRazaSyed's avatar

Lumen - Redirect Function Fails

Hello,

Does anyone know what could be the issue of redirect() response failing on a production server but working on Local?

Both are on Nginx but PHP versions are different. But still min. is PHP 5.5.

It's weird. I'm trying to redirect to external page but it always seems to be ending up throwing 500 Internal Error. Also there's no stack trace nor any other type of response to debug (Even if Debugging is ON). Very strange.

0 likes
2 replies
iRazaSyed's avatar
iRazaSyed
OP
Best Answer
Level 3

Nevermind. Session Drivers Issue. Default was Memcached and it seems the server doesn't have that installed. Fixed anyway.

2 likes

Please or to participate in this conversation.