Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21329

Recommended PHP Session settings incoherent with DB definition

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 4.7.0, 5.1
    • Fix Version/s: Customer request
    • Component/s: Documentation
    • Labels:
      None

      Description

      The recommended settings defined in Requirements for doing a normal installation documentation specifies the following:

      session.hash_function = 1
      session.hash_bits_per_character = 4
      

      These settings will result in session hash keys of 40 bytes, witch exceeds the 34 32 bytes defined in ezsession and ezdfsfile tables.

        Activity

        Hide
        André Rømcke added a comment -

        Looks like this is a typo or something, I can only guess it is supposed to be set to either:

        session.hash_function = 0
        session.hash_bits_per_character = 4

        OR

        session.hash_function = 1
        session.hash_bits_per_character = 5

        I would prefer the second alternative I think.
        See more info at: http://stackoverflow.com/questions/12240922/what-is-the-length-of-a-php-session-id-string

        Show
        André Rømcke added a comment - Looks like this is a typo or something, I can only guess it is supposed to be set to either: session.hash_function = 0 session.hash_bits_per_character = 4 OR session.hash_function = 1 session.hash_bits_per_character = 5 I would prefer the second alternative I think. See more info at: http://stackoverflow.com/questions/12240922/what-is-the-length-of-a-php-session-id-string
        Show
        Ricardo Correia (Inactive) added a comment - The following documentation pages have been updated: http://doc.ez.no/eZ-Publish/Technical-manual/4.7/Installation/Normal-installation/Requirements-for-doing-a-normal-installation http://doc.ez.no/eZ-Publish/Technical-manual/4.6/Installation/Normal-installation/Requirements-for-doing-a-normal-installation http://doc.ez.no/eZ-Publish/Technical-manual/4.5/Installation/Normal-installation/Requirements-for-doing-a-normal-installation http://doc.ez.no/eZ-Publish/Technical-manual/4.4/Installation/Normal-installation/Requirements-for-doing-a-normal-installation http://doc.ez.no/eZ-Publish/Technical-manual/4.3/Installation/Normal-installation/Requirements-for-doing-a-normal-installation http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Installation/Normal-installation/Requirements-for-doing-a-normal-installation
        Hide
        Joao Pingo (Inactive) added a comment -

        Documentation Reviewed

        Show
        Joao Pingo (Inactive) added a comment - Documentation Reviewed

          People

          • Assignee:
            Unassigned
            Reporter:
            Joaquim Cavalleri (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Time Spent - 4 hours, 30 minutes Remaining Estimate - 30 minutes
              30m
              Logged:
              Time Spent - 4 hours, 30 minutes Remaining Estimate - 30 minutes
              4h 30m