pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.76k stars 1.72k forks source link

composer install fail #3953

Closed goldeye-xor closed 2 years ago

goldeye-xor commented 2 years ago

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 or composer 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:

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?

gOOvER commented 2 years ago

PHP 8.1 is not supported. Switch to PHP 8.0

goldeye-xor commented 2 years ago

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

gOOvER commented 2 years ago

do a php -v on cli

goldeye-xor commented 2 years ago

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 ?

goldeye-xor commented 2 years ago

PHP 8.1 is not supported. Switch to PHP 8.0

how i change ?