i have been trying to deploy a laravel 5.4 application on a production server but am getting a 500 response, i have set all my permissions but i cant seem to get rid of the error..
Can you give more information? Like the host, the http server, your config files, whatever that can help understanding the issue? A 500 response is a bit short.
@mdecooman when i access the domain on a browser,i get i HTTP ERROR 500 , i had installed a fresh installation of laravel 5.2 and it worked perfectly, but when i nstalled laravel 5.4 the same way i installed laravel 5.2, i get the 500 error, its a fresh install of laravel 5.4, so am assuming its somth to do with maybe permission or .htaccess
Did you upload your .env file with a APP_KEY?
Did you run composer install (happened to me once)?
Are the storage folder writeable?
Is the bootstrap/cache folder writeable?
Did you check the logfiles to see what triggers the 500 error?
Laravel requires at least PHP5.6.4. Which version of 5.6 are you using?
so...the problem is, laravel 5.4 requires php version 5.6 so you need to upgrade your php version, but apache will still use the older php version even if you upgrade your php version since apache will not use your default CLI php version unless you tell it to, this command is a quick fix by telling apache to use php version 5.6