Closed goldeye-xor closed 2 years ago
PHP 8.1 is not supported. Switch to PHP 8.0
I followed the doc:
apt -y install php8.0 php8.0-{cli,gd,mysql,pdo,mbstring,tokenizer,bcmath,xml,fpm,curl,zip} mariadb-server nginx tar unzip git redis-server
do a php -v
on cli
yes...
PHP 8.1.2 (cli) (built: Jan 24 2022 10:42:33) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.2, Copyright (c) Zend Technologies with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies
how i change ?
PHP 8.1 is not supported. Switch to PHP 8.0
how i change ?
Current Behavior
Bug on install:
composer install --no-dev --optimize-autoloader
Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? Installing dependencies from lock file Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run
composer update
orcomposer update <package name>
. Your lock file does not contain a compatible set of packages. Please run composer update.Problem 1
To enable extensions, verify that they are enabled in your .ini files:
php --ini
in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with--ignore-platform-req=ext-mbstring --ignore-platform-req=ext-pdo_mysql --ignore-platform-req=ext-zip --ignore-platform-req=ext-simplexml --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-dom --ignore-platform-req=ext-simplexml
to temporarily ignore these required extensions.Expected Behavior
panel installation step
Steps to Reproduce
this commande on Ubuntu 20.04 LTS: root@server:/var/www/pterodactyl# composer install --no-dev --optimize-autoloader
Panel Version
1.7
Wings Version
1.5
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
No response
Is there an existing issue for this?