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.
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: alexandrleonenko, alexmst
-
- Site Admin
- Posts: 6170
- Joined: Jan 7th, '09, 23:18
- Contact:
HOW TO install & configure DirectyCMF on different databases
Postby administrator » Jun 2nd, '15, 18:06
Return to “ApPHP Directy CMF {developers/users}”
Jump to
- Rules and Announcements
- Components & Controls {developers/users}
- ApPHP DataGrid
- Installation
- WYSIWYG changes/implementation
- Databases: different types implementation
- Multi-Language implementation
- Calendar feature implementation [date/datetime fields]
- Additional operations implementation
- Add/Edit/View Mode Templates Implementing
- Settings: Printing & Exporting
- Settings: Sorting & Paging
- Settings: Filtering (search) / Autocomplete
- Settings: multirow operations
- Settings: CSS styles
- Field type: "image/file"
- Field type: "password"
- Field type: "foreign key"
- Field type: "link"
- Programming Tricks
- ApPHP DataGrid {future features}
- ApPHP DataGrid {bugs}
- ApPHP DataGrid {HOW TO}
- ApPHP DataForm
- ApPHP DataForm {HOW TO}
- ApPHP Calendar
- ApPHP Calendar {site integration/modifications}
- ApPHP Calendar {HOW TO}
- ApPHP Tabs
- ApPHP TreeMenu
- ApPHP AJAX File Uploader
- JS Auto Form Validator
- ApPHP DataValidator
- ApPHP ContactForm
- Development Scripts
- ApPHP AdminPanel {developers/users}
- ApPHP AdminPanel {HOW TO}
- ApPHP Easy Installer {developers/users}
- ApPHP FormBuilder {developers/users}
- ApPHP MVC Framework {developers/users}
- ApPHP Directy CMF {developers/users}
- Site Scripts
- ApPHP HotelSite / uHotelBooking Talk {developers/users}
- ApPHP Hotel Site {HOW TO}
- uHotelBooking {ALL}
- ApPHP Medical Appointment / uDoctorAppointment Talk {developers/users}
- ApPHP Business Directory / uBusinessDirectory Talk {developers/users}
- ApPHP Shopping Cart Talk {developers/users}
- ApPHP MicroCMS Talk {developers/users}
- ApPHP MicroCMS {HOW TO}
- ApPHP MicroBlog Talk {developers/users}
- ApPHP Restaurant Site {developers/users}
- ApPHP Survey {developers/users}
- uAutoDealers {developers/users}
- uBidAuction {developers/users}
- Utilities
- ApPHP DataGrid Wizard {developers/users}
- ApPHP WebsiteCleaner {developers/users}
- General
- Snippets, Tutorials & Other Stuff
- Feedback, Suggestions & Questions
- CodeMarket