Bug 202226

Summary: mail/squirrelmail 1.4.x is not compatible with PHP's session.auto_start setting. Please disable it at least for the location where SquirrelMail is installed.
Product: Ports & Packages Reporter: freebsd
Component: Individual Port(s)Assignee: Adam Weinberger <adamw>
Status: Closed FIXED    
Severity: Affects Many People CC: adamw
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description freebsd 2015-08-10 16:37:30 UTC
While installing squirrelmail-20150324, part of your message says following:

3) If you have trouble logging in, add the following to your php.ini:
   session.auto_start = 1

yet when I did that, I now getting following in my browser:

SquirrelMail 1.4.x is not compatible with PHP's session.auto_start
setting. Please disable it at least for the location where
SquirrelMail is installed.

I'm using php56-5.6.11.

by removing that line from my virtual host, that brings me back to
working SquirrelMail.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-08-15 16:07:42 UTC
A commit references this bug:

Author: adamw
Date: Sat Aug 15 16:07:28 UTC 2015
New revision: 394328
URL: https://svnweb.freebsd.org/changeset/ports/394328

Log:
  Remove the suggestion to add session.auto_start=1 to php.ini if
  logging in fails. On modern PHP, it *makes* logging in fail.

  PORTREVISION bump to be on the safe side.

  PR:		202226
  Submitted by:	freebsd@alexus.org

Changes:
  head/mail/squirrelmail/Makefile
  head/mail/squirrelmail/files/pkg-message.in
Comment 2 Adam Weinberger freebsd_committer freebsd_triage 2015-08-15 16:26:24 UTC
Committed. Thanks!