C
C
CapitanFreeloader2016-09-29 16:42:41
CentOS
CapitanFreeloader, 2016-09-29 16:42:41

How to install laravel 5 under vestacp?

Good afternoon, the second day I'm looking for a sane guide for installing laravel 5 under the vesta panel. OS CentOS 7.
All the manuals that I found for laravel 4, because the files in their description do not match.
Can someone tell me how to do this or a normal manual? You can, in principle, in English, the main thing is that it works.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
L
lynnikvadim, 2016-12-30
@lynnikvadim

https://github.com/errogaht/vesta_templates

T
Tesla, 2016-09-30
@Tesla

All you need is to set up a webserver under laravel, there are templates in vesta for this. LARAVEL templates nginx and httpd
Just install laravel in domain/public_html
And no specific guides needed.

V
Victor, 2016-09-29
@v_decadence

I don't know for sure, but it might work like this:
- create a domain
- find it in ~/web/domain/.
- there you create a laravel folder and run composer
- transfer the contents of public to public_html of the Vesta domain
- add to public/index.php:

$app->bind('path.public', function() {
    return __DIR__;
});

But it may also be necessary to route all non-existent URLs to index.php via try_files if using nginx.
Or a symbolic link should work:ln -s public public_html

S
Stanislav Pochepko, 2016-09-29
@DJZT

This is not the problem with Vesta. You clearly don't know how to handle laravel. Their connection is irrelevant. It is better for you to describe the problem in brief.

L
lucky devil, 2017-06-11
@lucky devil

composer too? resources do not eat much on VPS?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question