Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.1.0”.
I have a Laravel project and this is what it says to me
on the server Only 8.0 works
How to solve this problem?
Composer detected issues in your platform: Your Composer dependencies require a PHP version “>= 8.1.0”.
I have a Laravel project and this is what it says to me
on the server Only 8.0 works
How to solve this problem?
v-delete-web-php 8.1
And try to add it again via
v-add-web-php 8.1
Then you should be able to run /usr/bin/php8.1 composer or change the php template to 8.1
Run as root
this is my system version
Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-131-generic x86_64)
/usr/local/hestia/bin/v-delete-web-php
and
/usr/local/hestia/bin/v-add-web-php
Did you install php8.1 your self in the past?
I marked it from the panel and installed it like that, maybe the server blocked the connection or there was a port conflict and it couldn’t be installed completely
So, let’s uninstall 8.1 in every possible way and install a new method from scratch, other than the traditional one, more developer if you know
It looks like not every thing has been executed in the past and that why it is not working
Should be still executed
Check first if /etc/php/8.1/ exists or run
apt list php8.1-*
That’s it
What to do now, how to solve it
?
Run v-add-web-php and then run the error message you get as result
apt-get install list of packages.
what are the contents of: /etc/apt/sources.list.d/php.list
There is no such file here