Skip to main content
Crayonweb Studio
TYPO3 · 8 min read

How to Install TYPO3 v14 LTS, Step by Step

Milan Pandya

Written by Milan Pandya
Founder & CTO, Crayonweb Studio Pvt. Ltd.

Step-by-step TYPO3 v14 LTS Composer installation and Install Tool workflow

To install TYPO3 v14 LTS cleanly, run composer create-project typo3/cms-base-distribution:^14 my-typo3-site on PHP 8.2 to 8.5, point your web server document root to the public/ folder, create public/FIRST_INSTALL, and finish database and admin setup in the TYPO3 Install Tool.

Composer is the standard installation path for TYPO3 v14 LTS because it isolates core and vendor files outside the web root, locks dependency versions in composer.lock, and makes future security updates predictable. If you are reviewing what changed in this release before installing, read our TYPO3 v14 LTS overview or explore our TYPO3 CMS solutions.

What You Need Before You Start

Before running the TYPO3 install commands, confirm that your local environment (DDEV, Docker, or Linux) or production server satisfies TYPO3 v14 LTS requirements:

  • PHP: Version 8.2, 8.3, 8.4, or 8.5 with mbstring, intl, xml, pdo, pdo_mysql (or pdo_pgsql), fileinfo, curl, and zip enabled.
  • Composer: Composer 2.7 or newer installed globally (composer -V).
  • Database: MySQL 8.0.17+, MariaDB 10.4.3+, PostgreSQL 10+, or SQLite 3.8.3+ with a fresh empty database and user credentials.
  • Web Server: Apache (with mod_rewrite) or Nginx with PHP-FPM, configured so the document root points strictly to public/.

Note: If you are still maintaining an older v13 environment, follow our dedicated TYPO3 v13 Composer setup guide instead.

Step 1: Composer Install Commands

Open your terminal, move into your workspace directory, and scaffold the official TYPO3 v14 base distribution:

cd /var/www
composer create-project typo3/cms-base-distribution:^14 my-typo3-site
cd my-typo3-site

Composer downloads the TYPO3 v14 core packages into vendor/, places public entry points inside public/, and stores configuration under config/. Never commit vendor/ or public/fileadmin/ to Git; commit composer.json, composer.lock, and config/.

If you prefer CLI setup instead of the browser wizard, you can also run:

vendor/bin/typo3 setup

Step 2: Run the TYPO3 Install Tool

To launch the browser-based TYPO3 Install Tool for your first run, create the temporary FIRST_INSTALL marker file inside public/:

touch public/FIRST_INSTALL

Now open https://your-domain.tld/ in your browser. TYPO3 detects public/FIRST_INSTALL and redirects you automatically to the Install Tool wizard:

  1. System Environment Check: Verifies PHP version, required extensions, memory limit (memory_limit >= 256M), and max_execution_time.
  2. Database Connection: Enter your database host, port, username, and password, then select your empty database.
  3. Admin Account & Site Name: Create your first backend administrator account (strong password) and set the Install Tool password.
  4. Create Basic Site: Choose whether to create a blank starting page tree with a default site configuration (config/sites/main/config.yaml).

When setup finishes, TYPO3 automatically deletes public/FIRST_INSTALL and lets you sign in at https://your-domain.tld/typo3.

Step 3: File and Folder Permissions

Incorrect Linux ownership or permissions cause most blank screens right after installation. Your web server user (for example www-data on Ubuntu/Debian) needs write access only to specific runtime directories:

  • var/ (caches, logs, lock files)
  • public/fileadmin/ (editor uploads and media)
  • public/typo3temp/ (processed images and generated assets)
  • config/ (during initial setup and site configuration edits)

Set clean ownership and permissions from your project root:

sudo chown -R www-data:www-data var public/fileadmin public/typo3temp config
find var public/fileadmin public/typo3temp config -type d -exec chmod 2775 {} \;
find var public/fileadmin public/typo3temp config -type f -exec chmod 664 {} \;

Keep vendor/ and composer.json read-only for the web server user in production.

Five Most Common First-Run Errors and Fixes

1. 404 or Redirect Loop on /typo3

Cause: The web server document root points to the project root instead of public/, or Apache AllowOverride All / Nginx try_files is missing. Fix: Point Apache DocumentRoot or Nginx root to /var/www/my-typo3-site/public and ensure try_files $uri $uri/ /index.php$is_args$args; is active in Nginx.

2. FIRST_INSTALL Not Triggering the Install Tool

Cause: The file was created in the project root instead of public/FIRST_INSTALL, or has incorrect case sensitivity on Linux. Fix: Verify the exact uppercase path public/FIRST_INSTALL and check file ownership.

3. PHP Extension Missing (intl or fileinfo)

Cause: CLI PHP and web PHP-FPM often load different php.ini files. Fix: Install the missing packages for your exact PHP version (for example apt install php8.3-intl php8.3-xml php8.3-mbstring) and restart php8.3-fpm.

4. Composer Memory Exhausted During create-project

Cause: Default PHP CLI memory limit is too low for dependency resolution. Fix: Prefix your command with COMPOSER_MEMORY_LIMIT=-1 composer create-project ....

5. Blank Backend or Trusted Hosts Pattern Error

Cause: trustedHostsPattern in config/system/settings.php does not match your staging or production hostname. Fix: Update SYS.trustedHostsPattern to your exact domain regex (never leave .* in production).

What to Do Next

Once your fresh TYPO3 v14 LTS instance is running:

TYPO3TYPO3 v14 LTSTYPO3 InstallationComposerPHP

Need Engineering Help?

Planning a TYPO3 upgrade, self-hosted deployment, or AI pilot?

Talk directly with Milan Pandya and the Crayonweb Studio engineering team in Bhavnagar.