Azure-Samples / laravel-tasks

A simple Laravel application that demonstrates how to build data-driven PHP apps in Azure App Service.
MIT License
57 stars 1.46k forks source link

Project is not support PHP 8.2 #61

Open yansyunchen opened 1 year ago

yansyunchen commented 1 year ago

Project is not support PHP 8.2 When running composer install will show following error, it seems some dependecy is only allow PHP under 8.0

image
yansyunchen commented 1 year ago

PHP 8.0 would be fine

ReganLyden commented 1 year ago

@yansyunchen You can try running composer install --ignore-platform-reqs

This will ignore composer.json file and will run anyway.

Obviously, only run this if you know you have 8.2 installed.

marcelovvm commented 2 months ago

Same problem.

I followed the MS tutorial and chose PHP 8.3. It gives an error that the version is above the supported version. I changed it to 8.2... same thing. Even putting 8.0, the same error continues... and I still get the Azure alert informing me that version 8.0 is deprecated. I am running the application on AzureApps.

GitHub Actions error output:

Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1