Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

PHP, Symfony and Node.js versions

The versions a DXP project needs - PHP 8.3 or newer with its extensions and ini settings, Symfony 7.4, Composer 2, Node.js 20 and Yarn 1.22, the databases and the optional services - with the commands to check a machine…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/dxp-developers/php-symfony-and-node-versions.md

On this page

PHP, Symfony and Node.js versions

This page is for developers and system administrators who prepare a machine for a DXP project. All numbers come from the skeleton's installation guide (section 1, "Requirements") and the two composer.json files.

Contents

  1. The table
  2. PHP extensions and settings
  3. Node.js and Yarn
  4. Check a machine in two minutes
  5. Other lines of the family

The table

ComponentMinimumRecommended
PHP8.38.3 or 8.5
Symfony7.4 (LTS)7.4
Composer2.xlatest 2.x
Node.js20 LTS20 LTS through nvm
Yarn1.x1.22 through corepack
MySQL8.0 (utf8mb4)8.0 or newer
MariaDB10.310.6 or newer
PostgreSQL1416 or newer
SQLite3.353.39 or newer, development and testing
Redis (optional)6.07.x
Solr (optional)8.x8.11.x
Varnish (optional)6.07.1 or newer
Apache2.42.4, event MPM with PHP-FPM
Nginx1.181.24 or newer

PHP extensions and settings

The skeleton's composer.json requires ctype, iconv, gd, curl, json, xsl, xml, intl and mbstring. The guide adds pdo_mysql, pdo_pgsql or pdo_sqlite for your database, imagick as an alternative to gd, and opcache.

SettingValue from the guide
memory_limit256M or more, 512M recommended
date.timezonemust be set
max_execution_time120 or more, 300 recommended for command line work

Node.js and Yarn

Node.js and Yarn build the site assets and the administration interface. The guide is strict: use Node.js 20 LTS only ("Do not use Node.js 18 or 22 — only 20 LTS is tested and supported for this release") and Yarn 1.22, activated with corepack enable. The Nexus v5 starter uses Node.js 22; follow the guide of the project you install (DXP skeleton, Limits).

source ~/.nvm/nvm.sh
nvm install 20
nvm use 20
corepack enable

Production servers do not need Node.js if you build the assets elsewhere and deploy the result (Building assets).

Check a machine in two minutes

php -v                                   # 8.3 or newer
php -m | grep -iE "ctype|iconv|gd|imagick|curl|json|xsl|xml|intl|mbstring|pdo|opcache|sqlite"
php -i | grep -E "memory_limit|date.timezone|max_execution_time"
composer --version                       # Composer version 2.x
node -v                                  # v20.x
yarn -v                                  # 1.22.x

For an existing project, Composer can tell you what blocks a version:

composer check-platform-reqs
composer why-not php 8.2

Other lines of the family

LinePHPSymfonyNode.js
DXP v5 (this section)8.3 or newer7.420
4.6.x skeleton7.4 to 8.55.420
Nexus 1.3 and the v5 starter8.4 or newer7.422

Source: Platform package forks, Step 3.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x