The current Squirrelmail port for 12.0 and 12.1 does not work with any flavour of php7. There is supposed to be a patch but this has not been incorporated into the port. I have a php73 version working that was installed last spring but I cannot install a new site using the current packages. They all result in these warnings being thrown and one cannot proceed past the login:
Consequently, the Squirrelmail port should be marked as broken so that people do not spend several days running down why a package that works on 12.0p5 does not work on 12.0p12.
EDIT - I have since determined that the SM package running on 12.0p5 is in fact running on a FreeBSD-11 jail hosted on a 12.0p5 system.
Code:
Warning: session_set_cookie_params(): Cannot change session cookie parameters when session is active in /usr/local/www/squirrelmail/functions/global.php on line 476
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/squirrelmail/functions/global.php:476) in /usr/local/www/squirrelmail/functions/i18n.php on line 468
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/squirrelmail/functions/global.php:476) in /usr/local/www/squirrelmail/functions/global.php on line 569
Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /usr/local/www/squirrelmail/src/redirect.php on line 86
Consequently, the Squirrelmail port should be marked as broken so that people do not spend several days running down why a package that works on 12.0p5 does not work on 12.0p12.
EDIT - I have since determined that the SM package running on 12.0p5 is in fact running on a FreeBSD-11 jail hosted on a 12.0p5 system.