I'm setting a cookie in PHP, like this:
setcookie('searchParameters', '{"cordationages":"BY,BE,BO,BR,CA,DK,DO,FI,FR,DE,GR,IS,IN,IE,IT,JP,MT,MX,MN,NL,NZ,NO,PL,RO,RU,ES,CH","santarila":"ANY","frexin":"d","minimumCar":"98","maximumCar":"XD","requireDolprin":"NO","requireHousemath":"YES","maxinabilityFring":"PRIN-KOSLL","maxinabilityFor":"PRAZ-KO-LL"}', $expiry);
Which is causing the following segmentation fault in Apache:
[core:notice] [pid 42457] AH00052: child pid 45486 exit signal Segmentation fault (11)
The strange thing is that if I shorten the cookie string by 3 characters (by, say, removing any of the country codes from the comma-delineated list) it works just fine.
As far as I'm aware the limit for cookie length is far longer than this. Does anyone have any theories as to what is going on?
I'm on MacOS 10.14.6 Server version: Apache/2.4.34 (Unix) Server built: Feb 22 2019 20:20:11
Thanks!