Bug 202226 - 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.
Summary: mail/squirrelmail 1.4.x is not compatible with PHP's session.auto_start setti...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Adam Weinberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-10 16:37 UTC by freebsd
Modified: 2015-08-15 16:26 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!