Php setcookie not working on Android phones
I've seen the same problem in php 5.7.4. The one difference I see is that when the first routine I can uses setcookie, it works. Then I include another file and do another setcookie and it fails. If I make sure all the cookies get set in the same routine, that's a workaround. But this is clearly a fairly deep bug somewhere.