Skip to content
← All solutions
EspoCRM logo

CRM solution

Run EspoCRM Locally with FlyEnv

EspoCRM typically runs with PHP, a MySQL-compatible database, and a web server. FlyEnv helps manage that local CRM environment and any project-specific supporting services.

Local project stack

Services FlyEnv can manage around EspoCRM

About EspoCRM

EspoCRM is a PHP CRM platform built around entity definitions, relationship metadata, roles, layouts, and extensible business logic. It provides sales, marketing, support, and reporting workflows while allowing teams to add custom entities and integrations through its metadata-driven model.

A local EspoCRM project runs on PHP with MySQL or MariaDB and a web server. The built-in scheduled-job endpoint must be triggered by cron for automation, while IMAP, SMTP, WebSocket, or Redis-related services are relevant only for installations configured to use those integrations.

Core capabilities

  • Entity Manager
  • Relationship metadata
  • Role-based access
  • BPM and workflows
  • Formula scripts
  • REST API

Common use cases

  • Sales and account management
  • Customer support tracking
  • Lead qualification
  • Custom relationship-based CRM applications

EspoCRM combines entity metadata with scheduled automation

The main local stack is intentionally compact; integration services are driven by the features under development.

PHP and web server
Serve the CRM application and its API on a local URL.
MySQL or MariaDB
Persists entities, relationships, user settings, and custom metadata.
Cron for scheduled jobs
Calls EspoCRM scheduled-job processing so automation behaves like a running installation.
Optional mail integration
Local SMTP or IMAP testing is needed only for email synchronization and notification features.

Project resources

For installation commands, supported versions, and project-specific configuration, refer to the official EspoCRM documentation.

Typical local stack

The exact services depend on the project, its release, and its local configuration. This is a common local setup, not a fixed requirement.

ComponentTypical role
PHPRuns the EspoCRM application.
MySQLMariaDBStores CRM records and settings.
NginxApacheCaddyServes the local CRM site.
RedisMay support project-specific caching or jobs.

How FlyEnv helps

  • Select the PHP version

    Match the runtime to the EspoCRM release and extensions.

  • Run the CRM database

    Keep MySQL or MariaDB alongside the project.

  • Add Redis when used

    Start supporting cache services only for projects that configure them.

  • Configure a local CRM URL

    Use local domains and HTTPS for browser-based workflows.

Set up the local environment

Project installation stays with the upstream documentation. FlyEnv manages the runtimes, databases, web servers, and supporting services around it.

  1. 1Use the EspoCRM documentation for project installation and supported versions.
  2. 2Select the PHP runtime required by the project.
  3. 3Start MySQL or MariaDB for the CRM database.
  4. 4Start Redis only if the project configuration uses it.
  5. 5Configure the web server, local domain, and HTTPS in FlyEnv.
  6. 6Group related services when repeatable local starts are useful.

Ready to run EspoCRM locally?

Use FlyEnv to manage the runtimes, databases, web servers, and services around your local EspoCRM environment.

Download FlyEnv

Have questions using FlyEnv?