B
B
BonBon Slick2017-01-11 16:53:58
Laravel
BonBon Slick, 2017-01-11 16:53:58

Laravel 5.3 Website on Hostinger Hosting?

As I understand it, I won’t be able to use console commands there, like php artisan migrate: refresh --see, etc.
I’ve uploaded all the files, and when I go to the site, it displays the file structure, in OpenServer I could select a folder with the site, where to upload files from, how can I launch a site on the framework on Hostinger?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
he he, 2017-01-11
@BonBonSlick

Easy to google, eh.
And in this case, you should not become attached to hosting.
You need to create htaccess in the main directory and specify the rules you need (more specifically, the entry point)

<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question