Contao Manager: PHP Version updaten & Datenbank
Hallo zusammen,
als Vorbereitung auf ein Contao 5 Update, habe ich meine 4.13er Installation von PHP 7.4 auf 8.1 umgestellt.
Laut Handbuch (https://docs.contao.org/manual/de/in...er-php-version) soll ich jetzt ein Composer Update durchführen.
Das funktioniert aber nicht:
Code:
$ /opt/php-8.1/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/web0/html/web/contao-manager.phar.php composer update --with-dependencies --no-install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php ^7.4 but your php version (8.1.8) does not satisfy that requirement.
Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
# Process terminated with exit code 2
# Result: Misuse of shell builtins
Muss ich die PHP Version in der composer.json manuell anpassen? Dann sollte das im Handbuch stehen oder vom Manager erledigt werden.
Neelix