Installing TYPO3 on localhost
Local installation of the TYPO3 enterprise-level CMS, running the installation tool and development site at http://localhost/typo3.
TYPO3 is an open-source CMS designed for enterprises and large sites, known for its strong extensibility, multilingual capabilities, and comprehensive permission system. The local environment can run the Install Tool and the frontend site.
Prerequisites
- PHP 8.2+ (according to the current LTS version requirements)
- MySQL/MariaDB or PostgreSQL
- Composer
- Several PHP extensions:
intl,gd,zip,pdo_mysql, etc.
Installation Steps (Composer Method)
composer create-project typo3/cms-base-distribution typo3Configure the typo3 directory to be web-accessible (pointing to the public/ subdirectory as DocumentRoot, or placing the entire directory in htdocs/typo3/ and adjusting according to the official documentation).
Database
Create a database typo3_local in phpMyAdmin with the character set utf8mb4.
Installation Wizard
Access http://localhost/typo3 (or the configured public/ path) in your browser to complete:
- Environment check
- Database connection (host
localhost) - Administrator account
- Site name
Common Paths
| Path | Description |
|---|---|
/typo3 | Frontend site |
/typo3/typo3/ | TYPO3 backend (path may vary by version/configuration) |
| Install Tool | Typically /typo3/typo3/install.php (should be restricted after installation) |
Local Development Notes
- TYPO3 has strict requirements for PHP and extensions; the installer will list any missing items.
- Using DDEV or Docker can simplify local dependencies; pure XAMPP requires manual fulfillment of extensions.
- Caching: You can disable some caching during development to see template changes immediately.
Common Issues
Composer Memory LimitCOMPOSER_MEMORY_LIMIT=-1 composer install
Missing Extensions
Enable intl, zip, etc., in php.ini as prompted by the installation interface.
DocumentRoot Configuration
TYPO3 recommends pointing the web root to public/ and not exposing the entire project directory.
Conclusion
TYPO3 can be accessed locally at http://localhost/typo3, making it suitable for enterprise CMS development; it requires a complete PHP extension and Composer environment.