Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

oka_'s avatar
Level 1

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".

I have no idea how to fix this, I have already read other discussions about this problem and tried to solve it but it is still not working

0 likes
4 replies
kiri1101's avatar

Simply follow the link https://www.php.net/downloads.php, download the latest PHP release that matches your system (which v8.1.11 as of this moment) and install it. Then, make sure you setup PHP correctly in your system environment variables such that it is accessible by your local development server. That should do the trick

oka_'s avatar
Level 1

@kiri1101 if I already installed the new PHP version, should I do something with my folder in CPanel? I'm using a shared host btw

kiri1101's avatar

@oka_ make sure the PHP version on your shared hosting is >= to 8.1.0. Then open your terminal and run php artisan cache:clear before refreshing your browser

1 like

Please or to participate in this conversation.