Problem php8.1 start

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?

1 Like

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

Uploading: image.png…
Uploading: image.png(1)…

Run as root


this is my system version
Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-131-generic x86_64)


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’s stuck and it’s broken 8.1 Which domain does it write on when you point to it

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.

It doesn’t install the packages, the problem is that it can’t connect to some file

what are the contents of: /etc/apt/sources.list.d/php.list


There is no such file here