Setting up TYPO3 manually under Linux


You will need a Webserver, PHP and database on your system. Look at the page System requirements and check out the specific system requirements for the current main branch on the Download TYPO3 page.

Just as a minimal example, this is a list of packages you might want to install on a Debian flavored Linux system (e.g. Ubuntu).


This is a very simple, minimal setup. You might want to use Nginx instead or php-fpm with Apache.


Apache Webserver

sudo apt-get install apache2
sudo a2enmod deflate rewrite headers mime expires

PHP 7.4

sudo apt-get install libapache2-mod-php7.4 php7.4-cli \
php7.4-common php7.4-curl php7.4-gd php7.4-imap php7.4-intl \
php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache \
php7.4-readline php7.4-soap php7.4-xml php7.4-zip


Make sure you use the correct PHP version for your TYPO3 version.

Make some changes to php.ini and reload:

max_execution_time = 240
max_input_vars = 1500

Restart Webserver:

sudo service apache2 restart

MySQL Server

sudo apt-get install mysql-server


sudo apt-get install imagemagick

Create a basic site for your installation

Edit a sitefile, e.g. /etc/apache2/sites-available/t3coredev.conf

make sure it will point to the correct htdocs directory:

<VirtualHost *:80>
   ServerAdmin youremail@yourdomain
   ServerName t3coredev
   DocumentRoot /var/www/t3coredev
   ErrorLog ${APACHE_LOG_DIR}/error.log
   CustomLog ${APACHE_LOG_DIR}/access.log combined

Enable it:

sudo a2ensite t3coredev
sudo service apache2 reload

Create a domain in your /etc/hosts

/etc/hosts: localhost t3coredev

You will now be able to access your TYPO3 installation via http://t3coredev/typo3/ and it will greet you with an error message, because it is not configured yet

Next step

Proceed with Setting up TYPO3 manually.