This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Databases¶
Using PostgreSQL¶
Ibexa DXP uses MySQL by default, but you can also choose to install it with PostgreSQL.
Requirements¶
To use PostgreSQL, you need to have the pdo_pgsql PHP extension installed.
Provide parameters¶
When you run composer install, you're asked to provide installation parameters.
Tip
It's recommended to store the database credentials in your .env.local file and not commit it to the Version Control System.
If you use PostgreSQL, the following parameters need to be set differently in the .env.local file than when using MySQL:
DATABASE_NAMEDATABASE_HOSTDATABASE_PORTDATABASE_PLATFORMmust be set topgsqlinstead ofmysqlDATABASE_DRIVERmust be set topdo_pgsqlinstead of the defaultpdo_mysqlDATABASE_VERSIONDATABASE_CHARSETmust be set toutf8, because the default value ofutf8mb4is MySQL-specific.
The rest of the installation procedure is the same as when using MySQL.