#fail to deploy laravel 8 app

10 messages · Page 1 of 1 (latest)

near prawn
#

hey guys i wante deploy my app but i get lot of error there log :

thick troutBOT
#

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.

near prawn
#

you mean i need update in project or in pc ?

grand frigate
#

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

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

near prawn
#

@grand frigate plz help

grand frigate
#

I don’t know php, I can’t help anymore