#Impossible to update pterodactyl
35 messages · Page 1 of 1 (latest)
But i use php 8.1 for ptero
php 8.2 is NOT supported
You're not using 8.1, you are clearly using 8.2
The version of php-cli you're running is 8.2
If you are going to keep multiple versions installed, then you need to specify the version of php when you run command. Because right now you're using 8.2 to run those commands
Already done
What are you talking about "Already done"
I can see plain as day that you DID NOT specify the PHP version when you ran those commands
Yes, this is my 4th attempt with the 4th version
Your screenshot only shows you trying to use your default version, PHP 4.2
Use the right version of PHP and it will work
How about instead of blindly pasting multiple commands into the terminal and ignoring the errors, you run them one at a time and deal with them properly
I can see a cut off error at the top there from composer, looks like you've not installed all the php modules you need
To judge without knowing, I already installed all the necessary versions via the command "apt -y install php8.1 php8.1-{mbstring,mysqli,gd,tokenizer,json,xml,fpm,curl,zip,bz2}"
I'm not judging without knowing. I'm telling you exactly what you're ignoring
I do not ignore anything, everything is corrected
There is literally errors cut off at the top of your last screenshot that you ignored
Where did you get this PHP install command from? - it IS MISSING packages
Finally fixed by myself
You're welcome
For what ?
Everything
I gave you every piece of information you needed to fix it.
If you can't accept that you're using wrong PHP versions, and that you've not followed the docs and installed the correct PHP modules, then you're really beyond help
I didn't need your information since the problem didn't come from there xD