‪TYPO3CMS  10.4
install.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
97 // Exit early if php requirement is not satisfied.
98 if (PHP_VERSION_ID < 70200 || PHP_VERSION_ID >= 80000) {
99  die('This version of TYPO3 CMS requires PHP >= 7.2 and < 8.0');
100 }
101 
102 call_user_func(function () {
103  $classLoader = require __DIR__ . '/../../../../../../vendor/autoload.php';
104  ‪\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(1, \‪TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_INSTALL);
105  ‪\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader, true)->get(\‪TYPO3\CMS\Install\Http\Application::class)->run();
106 });
‪TYPO3
‪TYPO3\CMS\Core\Core\Bootstrap\init
‪static ContainerInterface init(ClassLoader $classLoader, bool $failsafe=false)
Definition: Bootstrap.php:75
‪TYPO3\CMS\Core\Core\SystemEnvironmentBuilder\run
‪static run(int $entryPointLevel=0, int $requestType=self::REQUESTTYPE_FE)
Definition: SystemEnvironmentBuilder.php:62