Requirements for doing a normal installation: comparison ...
Versions Compared
Old Version 4
changes.mady.by.user Ricardo Correia
Saved on Jun 20, 2013
compared with
New Version 5
changes.mady.by.user Ricardo Correia
Saved on Jun 20, 2013
- Previous Change: Difference between versions 3 and 4
- Next Change: Difference between versions 5 and 6
- View Page History
Key
- This line was added.
- This line was removed.
- Formatting was changed.
...
Refer to the PHP documentation for the list of supported timezones. Don't forget to restart Apache after editing "php.ini".
Session parameters
In order to support PdoSessionHandler (session data stored in the database), the following settings must be configured Session handling is performed by Symfony, which uses a session handler to take care of them, and store them in the database. Custom session handlers implementation is possible by defining them in exponential.yml.
As an example, please check the PdoSessionHandler session handler implementation, that can be done by configuring the following settings in your exponential.yml file:
| No Format |
|---|
framework:
session:
# ...
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 on session configuration please be sure to check the online Symfony documentation.
Other php configuration settings
...
Comments
Add a comment