We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
install laravel 5.3 in vestacp ?
-
- Posts: 1
- Joined: Thu Dec 01, 2016 2:29 am
install laravel 5.3 in vestacp ?
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
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
Re: install laravel 5.3 in vestacp ?
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
I hope useful
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;
}
}