mardi 31 octobre 2017

Change localhost to custom server ip address in laravel

I 'ld like to use different server for my laravel project.For that i've changed my config/database.php code as,

        'host' => env('DB_HOST', 'http://192.168.1.15'),
        'port' => env('DB_PORT', '3306'),

And in .env file,

        APP_URL=http://192.168.1.15,

But it still access my localhost.How can I do this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire