Fastest Web Hosting

laravel quick start example not run

0 votes
asked Nov 4, 2016 in Laravel by punnet (400 points)

I'm new with Laravel and I'm trying to reproduce the quickstart guide, but I don't get it to work.

I'm running local Apache Server in Linux (Debian)

This is my installation url: http://localhost/laravel_blog

I test adding to .htaccess, but not work

RewriteBase /laravel_blog/

My route is like is indicate in the quickstart guide

Route::get('/', function () {
    return view('tasks', [
        'tasks' => Task::orderBy('created_at', 'asc')->get()
    ]);
});

I read these stackoverflow answers, but the solution not worked for me.

Laravel quick start guide route not working

laravel when going to address I see folders, not starting the app

How can I get work the laravel route?

1 Answer

0 votes
answered Nov 7, 2016 by puneet

For the quickly start laravel, you can run command php artisan serve and browse to laravel:8000

Job Board

TechnicalSharp is a technical community of developers where they are sharing their knowledge and solutions and against it they are getting the score point which help them to make profile strong which is under eyes on MNC's
...