A modular php based content management system
Notice: This code is written in 2009 with php 5.4 and needs a bit of love to make it compatible with the latest php version I just put it together in a docker compose format so it can be easier to use.
- Modular
- User management and Access control (Module based and action based)
- Template management (all stored in DB)
- Supports multiple languages both for content and labels
- Support multiple domains in such a way that several domains can be parkes on the same host and different content will show for each with dedicated template and all can be managed through one admin panel
- Data Export and Import
- Autonomous Cache system for database queries and templates
- Simply clone the repo and run docker compose:
git clone https://github.com/mojtaba-esk/Moji-CMS-php.git Moji-CMS-php
cd Moji-CMS-php
sudo chmod 0777 -R ./www/cache/
sudo docker-compose up -d
- Then open phpmyadmin via this URL: http://localhost:8081/
create a new database with this name: mojicms_db
You can choose your own name as well, but then you need to modify .env file
- Import datbase tables to the database. The BD backup file can be found under
DBfolder:
- The next step is to fix mysql user authentication to make it compatible with the latest version. Simply open user account on phpmyadmin and change the password for the default user which is
devand the password is alsodev. Again you can change it in.envfile. Make sure to selectNative MySQL authenticationforPassword Hashingjust like the photo below:
- Then if all run you can access to the CMS through this URL: http://localhost:8080/
Please feel free to fork it and extend it if you find it useful.
Cheers, Moji






