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

ShamiCanCode's avatar

cpanel

I host a laravel on shared hosting with this error

please resolve this me asap'

remember static website

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

0 likes
2 replies
LaryAI's avatar
Level 58

It looks like you are trying to run a Laravel application on a shared hosting environment that does not meet the minimum PHP version requirement of 8.1.0. Unfortunately, you will need to upgrade your hosting environment to a plan that supports PHP 8.1.0 or higher in order to run your Laravel application. If you are unable to upgrade your hosting plan, you may need to consider using a different hosting provider that supports the minimum PHP version requirement.

ShamiCanCode's avatar

@LaryAI it is solved can you please answer me how to upload laravel in shared hosting I uploaded with a method Create index.php file and redirect in public folder but it shows something like this

www.xyz.com/public/

which looks so weird

Please or to participate in this conversation.