Connect laravel to db

bonjour ,
j’ai finaliser mon projet sur localhost (connection db et tous …)mais quand je l’ai uploader et j’ai créer db sql et modifier le fichier .env et config selon les nouveaux paramétres ,soit :APP_NAME=Laravel
APP_ENV=http://popadscash.epizy.com/
APP_KEY=base64:Hidden by MOD
APP_DEBUG=true
APP_URL=http://popadscash.epizy.com/

LOG_CHANNEL=stack

DB_CONNECTION=mysql
DB_HOST=sql206.epizy.com
DB_PORT=3306
DB_DATABASE=epiz_23923162_adhook
DB_USERNAME=epiz_23923162
DB_PASSWORD=Hidden by MOD

mon website est toujours inaccessible http://popadscash.epizy.com/ .

Merci pour vos réponses

@momoulfa

hey there,please if possible write it to English , thanks :upside_down_face:

Hello ,
I finalize my project on localhost (connection db and all …) but when I upload it and I create db sql and modify the .env and config file according to the new parameters, ie: APP_NAME = Laravel
APP_ENV = http: //popadscash.epizy.com/
APP_KEY = base64: Hidden by MOD
APP_DEBUG = true
APP_URL = http: //popadscash.epizy.com/

LOG_CHANNEL stack =

DB_Connection = mysql
DB_HOST = sql206.epizy.com
DB_PORT = 3306
DB_DATABASE = epiz_23923162_adhook
DB_USERNAME = epiz_23923162
DB_PASSWORD = Hidden by MOD

my website is still inaccessible http://popadscash.epizy.com/.

Thank you for your answers

@momoulfa

there’s some incorrect codes probably you’ve entered mistake. please enable php display errors from Alter php config:

http://cpanel.epizy.com/panel/indexpl.php?option=phpchangeconfig_configure

that will show bugs when loading the site :slight_smile:

First of all, you posted your database password and application key to the forum. These posts are publicly accessible, so you need to be more careful with publishing private data.

I have reset your hosting account password. I can’t reset your application key, so you should do that yourself. If you don’t, your website will not be secure!

As for why your website doesn’t work, right now, it just returns a blank page with status code 500. 500 means “Internal Server Error”, which is usually caused by crashing PHP code.

Your website seems to be built on Laravel 5.6, which requires at least PHP 7.1. However, the latest PHP version available on free hosting is 7.0. Laravel 5.5 is the last version which supports PHP 7.0.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.