Attention
We are revising the Getting Started guide for TYPO3 versions 12 and 13 (currently identical to the main branch for 14). Your feedback is essential to help us make it even better!
You can contribute by:
- Filling out this short survey to share your thoughts.
- Joining the conversation in our Slack channel, #typo3-documentation.
- Reporting any errors you find using the "Report an issue" button.
Thank you for helping us improve the guide!
Deploying TYPO3
This guide outlines the steps required to manually deploy TYPO3 and ensure the installation is secure and ready to be used in a production context. This guide also highlights a number of automation tools that can help automate the deployment process.
There are several different ways to deploy TYPO3. One of the more simple options is to manually copy its files and database from a local machine to the live server, adjusting the configuration where necessary.
General Deployment Steps
- Build the local environment (installing everything necessary for the website)
- Run
composer install --
to install without development dependenciesno- dev - Copy files to the production server
- Copy the database to the production server
- Clearing the caches
Note
The composer install
command should not be run on the live environment.
Ideally, Composer should only run locally or on a dedicated deployment machine,
to allow testing before going live.
To avoid conflicts between the local and the server's PHP version,
the server's PHP version can be defined in the composer.
file
(e.g. {"platform": {"php": "8.1"}}
), so Composer will always check
the correct dependencies.