Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

install laravel 5.3 in vestacp ?

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
lovevestacp
Posts: 1
Joined: Thu Dec 01, 2016 2:29 am

install laravel 5.3 in vestacp ?
  • Quote

Post by lovevestacp » Thu Dec 01, 2016 2:36 am

hello, i'm using centos 7
how to install laravel 5.3 in vestacp ? laravel 5.3 need php 5.6.4 vestacp not support php 5.6.4
thank you
Top

areoid
Posts: 2
Joined: Sat Jul 22, 2017 12:23 pm

Re: install laravel 5.3 in vestacp ?
  • Quote

Post by areoid » Sat Jul 22, 2017 12:46 pm

Can you show the error message? or something..

I think, you need to setup the root directory of your laravel within httpd.conf and nginx.conf

for example, your laravel is in public_html/laravel/
so, in httpd.conf you must like this

httpd.conf
DocumentRoot /home/admin/web/domain.com/public_html/laravel/public
and
<Directory /home/admin/web/domain.com/public_html/laravel>

nginx.conf
in location / {} section, you must setup the root directory and try_files config

Code: Select all

location / {
        proxy_pass	http://23.95.29.130:8080;
        location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|t$
            root           /home/admin/web/domain.com/public_html/laravel/public;
            access_log     /var/log/httpd/domains/domain.com.log combined;
            access_log     /var/log/httpd/domains/domain.com.bytes bytes;
            expires        max;
            try_files	   $uri $uri/ /index.php?$query_string @fallback;
        }
    }
I hope useful
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password