Skip to the content
Documentation

Requirements for doing a normal installation: comparison ...

No ratings yet

Versions Compared

Old Version 3

changes.mady.by.user Ricardo Correia

Saved on Jun 05, 2013

compared with

New Version 4

changes.mady.by.user Ricardo Correia

Saved on Jun 20, 2013

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Session parameters

In order to support ezpSessionHandlerDB support PdoSessionHandler (session data stored in the database), session.hash_function and session.hash_bits_per_character in php.ini should be combined with the goal of never generating keys longer then 32 bytes.
Recommended settings the following settings must be configured in your exponential.yml file:

No Format
framework:
    session.hash_function = 1
session.hash_bits_per_character = 4

...

:
        # ...
        handler_id:     session.handler.pdo

parameters:
    pdo.db_options:
        db_table:    session
        db_id_col:   session_id
        db_data_col: session_value
        db_time_col: session_time

services:
    pdo:
        class: PDO
        arguments:
            dsn:      "mysql:dbname=<mysql_database>"
            user:     <mysql_user>
            password: <mysql_password>

    session.handler.pdo:
        class:     Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler
        arguments: ["@pdo", "%pdo.db_options%"]

For more details please be sure to check the online Symfony documentation.

Other php configuration settings

...

Comments

Add a comment

Comments are read by a moderator before they appear.