Defalto CRM

System Requirements

Estimated reading: 3 minutes 47 views

Before installing Defalto CRM, we strongly recommend reviewing the system requirements below. Meeting these parameters ensures optimal performance, stability, and compatibility of all core modules and extensions. While Defalto can run on a wide range of environments, using the recommended configuration will provide the best experience for administrators and end-users.

This section outlines the minimum and recommended server specifications, supported operating systems, database versions, and additional components needed to successfully deploy and maintain Defalto.

PHP requirements

Defalto CRM requires a modern and properly configured PHP environment to run smoothly.
For the best performance, stability, and compatibility, we recommend using PHP 8.2 or higher, while the minimum supported version is PHP 8.2.

Below are the minimum and recommended PHP settings and extensions:

Supported PHP Versions

  • Recommended: PHP 8.2 and higher

  • Minimum: PHP 8.2

Recommended PHP Configuration

  • error_reporting: 0, 1, or E_ERROR

  • max_execution_time: 600

  • max_input_time: 120

  • max_input_vars: 10000

  • memory_limit: 256M

  • post_max_size: 50M

  • upload_max_filesize: 5M

Required PHP Extensions

  • SimpleXML

  • gd

  • curl

  • imap

  • mysql / pdo_mysql

  • mbstring (required for PDFMaker and various modules)

  • bcmath

  • fileinfo

  • json

  • xml

  • zip

Other Recommended Settings

  • layout: d1

  • charset: utf-8

Database Requirements

To ensure correct operation of Defalto CRM, we recommend configuring your database with the following settings:

Recommended Database Settings

  • DieOnError: no

  • MysqlStrictMode: no

  • SqlMode: (empty) or "NO_ENGINE_SUBSTITUTION"

  • SqlCharset:

    • utf8_general_ci (recommended)

    • or utf8mb3_general_ci

Notes

  • The database, tables, and all columns should consistently use the recommended charset and collation.

  • Avoid enabling MySQL Strict Mode, as it can cause unexpected behavior in insert/update operations.

  • Using NO_ENGINE_SUBSTITUTION prevents unwanted MySQL engine changes during installation or upgrades.

File Settings (Ownership and Permissions)

1. Set Correct Ownership

Before configuring permissions, set the correct owner and group for your Defalto installation directory.
Use the system user under which your web server (e.g., Apache or Nginx + PHP-FPM) runs.

Example:

 
chown -R root:www-data crm_dir

(Replace crm_dir with the path to your Defalto installation.)

2. Apply Default Directory Permissions

Next, secure Defalto by applying recommended permissions to all directories:

 
cd crm_dir find -type d -exec chmod 755 {} \;

This ensures directories are accessible by the system but not writable by unauthorized users.

3. Set Specific Permissions for Writable Folders

Some folders must be writable by the web server for caching, logs, user files, composer libraries, and runtime operations.
Apply the following permissions:

chmod 775 backup/
chmod -R 775 cache/
chmod -R 775 cron/
chmod 775 install/
chmod -R 775 languages/
chmod -R 775 layouts/v7/modules/
chmod 775 logs/
chmod -R 775 modules/
chmod 775 storage/
chmod -R 775 test/
chmod -R 775 user_privileges/

chmod -R 775 include/
chmod -R 775 includes/
chmod -R 775 libraries/
chmod -R 775 data/
chmod -R 775 bin/
chmod -R 775 vendor/
chmod -R 775 vtlib/

Summary

  • Directories (default): 755

  • Writable directories: 775

  • Ownership: set to the correct web server user/group

  • Ensure all runtime, cache, language, module, and library directories are writable.

CONTENTS