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

MohammadNadeem's avatar

Getting HTTP ERROR 500

My site was working fine. now i just setup a github repo and deploy my site through this private repo. m site is hosted at hostinger. i didn't find any error. i tried to add some code in my index.php but it doesn't help. even at the top i echo phpinfo(); die; but it doesn't show anything. Looking Forward Thanks

0 likes
5 replies
jaseofspades88's avatar
Level 51

This means you're not pointing at your public/index.php file.

1 like
MohammadNadeem's avatar

after few changes i got the error in error log. can you assist me about following error? production.ERROR: No application encryption key has been specified. {"exception":"[object] (Illuminate\Encryption\MissingAppKeyException(code: 0): No application encryption key has been specified. at /home/u961437256/domains/mydomain.com/public_html/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:79)

tangtang's avatar

@MohammadNadeem

now i just setup a github repo and deploy my site through this private repo

standart config with this repo is like the .env will be ignored and not be committed to server if you deploy with CI/CD (maybe 😁)

make sure you have .env file for laravel in your server project and make sure APP_KEY=this_is_the_key is configured. you can set the APP_KEY with php artisan key:generate

MohammadNadeem's avatar

I have deployed it and front site working fine but unable to login. got following error Vite manifest not found at: /home/u961437256/domains/mydomain.com/public_html/public/ i have checked my vite.config.js file is alogn with app, routes folder. but still getting error

tangtang's avatar

@MohammadNadeem

may you need to run npm install to add the dependencies you need.

but before this will get to any futher, seems like your first question have an answer. you should close this thread and give credit to the possibly/related answer with your first question.

you can add another new topic/question later.

😁

happy coding.

Please or to participate in this conversation.