#fail to deploy laravel 8 app
10 messages · Page 1 of 1 (latest)
Project ID: N/A
It appears that the issue is that the php version provided is 8.0.22, which is not compatible with Laravel 8, which requires php 8.1 and above.
you mean i need update in project or in pc ?
In your project. Can you please send your composer.json?
In your composer.json you should have a line defining your php version, set that to "php": "^8.1"
@near prawn
i get annother error :
#12 11.65 The environment file is invalid!
#12 11.65 Failed to parse dotenv file. Encountered unexpected whitespace at [composer install && npm && npm prod && php artisan optimize && php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan migrate--force].
#12 11.66 Script @php artisan package:discove
@grand frigate plz help
I don’t know php, I can’t help anymore