Which Versions of Ubuntu and Debian Are Currently Supported?

I’m planning to install this software on a Linux server and would like to know which versions of Ubuntu and Debian are officially supported. Are there any minimum version requirements or compatibility limitations that I should be aware of before proceeding with the installation?

Hi @Johnadamm

Dolibarr itself does not officially require a specific Ubuntu or Debian version. The main requirement is that the operating system can provide supported versions of PHP, a database server (MariaDB/MySQL or PostgreSQL), and a web server (Apache or Nginx).

For new installations, I generally recommend using a current LTS distribution such as:

  • Ubuntu 24.04 LTS (recommended)

  • Ubuntu 22.04 LTS

  • Debian 12 (Bookworm)

These versions provide modern and well-supported PHP packages and receive long-term security updates.

The actual compatibility depends more on the Dolibarr version you plan to install. Recent Dolibarr releases require newer PHP versions, so very old distributions may not be suitable because they ship with outdated PHP packages.

Before installation, I recommend checking the official Dolibarr prerequisites for your target version:

  • PHP version supported by that Dolibarr release

  • Database version (MariaDB/MySQL/PostgreSQL)

  • Web server requirements

In practice, if you choose Ubuntu 22.04/24.04 LTS or Debian 12, you should have no issues running current Dolibarr versions.

Thanks & Regards
Saikat Koley
Software Developer(Dolibarr)
Call/WhatsApp : +919903256573
Email : saikatkoley@hotmail.com
https://www.linkedin.com/in/saikatkoley/

2 Likes

Good summary from @saikatkoley. To add the PHP dimension since that’s usually the practical bottleneck:

PHP version requirements by Dolibarr version

  • Dolibarr 17–18: PHP 7.4 – 8.1
  • Dolibarr 19–20: PHP 8.0 – 8.2
  • Dolibarr 21+ (current): PHP 8.1 – 8.3

The distros @saikatkoley listed map well to these:

  • Ubuntu 22.04 ships PHP 8.1 (the sweet spot for Dolibarr 19–21)
  • Ubuntu 24.04 ships PHP 8.3 (works for Dolibarr 21+, check your target version)
  • Debian 12 ships PHP 8.2 (solid for any recent Dolibarr)

Required PHP extensions (often missed on minimal installs):
php-gd, php-curl, php-intl, php-xml, php-mbstring, php-zip, php-mysql (or php-pgsql)

One production note
If you’re on Ubuntu 24.04 and want PHP 8.1 for an older Dolibarr version, the Ondřej Surý PPA gives you full version control without needing to compile anything — clean apt install and easy to upgrade later.

— Ali — Dolibarr AI Consultant / SiliconBlaze