Monday, April 10, 2017

laravel path get error when moved to appserv

i have laravel 5.3 project installed via composer and i have appserv also installed on the pc and it was on this path c://laravel now when i want to access it i open ms dos and write php artisan serv and its working now when i moved it to my appserv www path i access it like this localhost/laravel/whatever and its working except when i click on any link its gone to path like this localhost/path not localhost/laravel/public/path so i tried to open

config/app.php

and i changed this code

    'url' => env('APP_URL', 'http://localhost/accounting'),

and its not working getting the same path how can i fix it thanks



via Awar Pulldozer

Advertisement