- PHP 7.4 or higher (PHP 8+ recommended)
- MySQL / MariaDB
- Apache or Nginx Web Server
- Required PHP Extensions:
mysqlipdo_mysql(optional, recommended)opensslmbstringjsoncurl
mod_rewriteenabled (optional, for clean URLs)
/public → Public root (index & modules)
/app → MVC application files
/app/controllers → Controllers
/app/models → Data models
/app/views → Views / templates
/app/config → Configuration & database settings
/database → SQL installation files
The SQL file required for database setup is located at:
/database/phpcrm_install.sql
-
Download the PHPCRM source code and extract it into your web directory.
-
Create a new MySQL database (UTF8MB4 recommended).
-
Import the SQL file:
/database/phpcrm_install.sql -
Open the file:
/app/config/database.phpUpdate the following values:
DB_HOSTDB_NAMEDB_USERDB_PASS
-
(Optional) Open:
/app/config/config.phpUpdate company or system settings if required.
http://localhost/your-crm-folder/public/
Example:
http://localhost/phpcrm/public/
https://yourdomain.com/public/
After installation, use the following credentials:
- Email: admin@phpcrm.com
- Password: 123456
⚠️ If login fails, ensure thepassword_hashfield in tablephpcrm_usersisVARCHAR(255)and not truncated.
Ensure the following directories are writable:
/public/uploads/app/logs(if logging is enabled)
- Delete
/database/phpcrm_install.sqlafter installation - Change the admin password immediately after first login
- Keep database credentials secure
- Do not expose
/app/configdirectory publicly
max_execution_time = 300
memory_limit = 512M
upload_max_filesize = 32M
post_max_size = 32M
🌐 Website: https://www.phpcrm.com
PHPCRM is released under the MIT Open Source License.
You are free to use, modify, rebrand, and deploy commercially,
provided this copyright notice is retained.