HOW TO install & configure DirectyCMF on different databases

Discuss everything related to ApPHP Durecty CMF. All versions. Any questions related to the Directy CMF developing or using should be posted to this forum.

Moderators: ne_moj, alexmst, zewa

HOW TO install & configure DirectyCMF on different databases

Postby administrator on Jun 2nd, '15, 18:06

Directy CMF uses PDO, so if you want to use another database, than MySQL you have to perform following steps:

1. Open protected/data/schema.mysql.sql and corrent the syntax to the database driver you want to use, for ex.: PostgreSql.

2. Rename the file into schema.postgresql.sql

3. Open protected/modules/setup/controllers/SetupController.php and replace each occurrence of word "mysql" with required driver, for ex.: "postgresql".

That's all!
Now you may run setup.
User avatar
administrator
Site Admin
Site Admin
 
Posts: 5911
Joined: Jan 7th, '09, 23:18

Return to ApPHP Directy CMF {developers/users}

Who is online

Users browsing this forum: No registered users and 1 guest