Laravel installation

General discussions around KeyHelp.
Post Reply
Eomer
Posts: 17
Joined: Tue 26. Dec 2017, 01:19

Laravel installation

Post by Eomer »

Hello,

i'm using Keyhelp to host a few private websites (just some blogs) and now i'd like to deploy a Website which is based on Laravel.
I dont have much experience with websites.

I'm not really sure what i have to do in order to get a Laravel site working in while using keyhelp.

I found some tutorials but i'm not sure if i can just make changes to php and apache configurations without breaking keyhelp.

Did anyone ever use a laravel based website and could point me in the right direction?

Thanks in advance!
User avatar
v3ng
Posts: 297
Joined: Wed 4. Jul 2018, 18:08

Re: Laravel installation

Post by v3ng »

As far as I know you don’t need to make any changes to PHP/ Apache.

If you still want to do any changes, you can edit the user/ plan configuration in the webinterface.
You can install Composer via CLI if you want to install PHP dependencies right on the server.
User avatar
martins
Posts: 30
Joined: Mon 18. Nov 2019, 13:32

Re: Laravel installation

Post by martins »

I have already test several Laravel projects without any problem. Some Laravel projects/app need to change the permission on such folders and also change the PHP version to meet the app requirement. But all good so far!
User avatar
superjogi
Posts: 137
Joined: Sat 11. Jan 2020, 23:24

Re: Laravel installation

Post by superjogi »

The answer to this older question is:

prerequisites: composer installed

Make sure the user has "SSH shell" aktivated in shell
Go to his directory /home/user/yourusername/www
su yourusername
Start installing laravel with:

Code: Select all

composer global require laravel/installer
Add that bin to your path in .bashrc by adding at the end of this file:

Code: Select all

PATH=$PATH:~/.config/composer/vendor/bin/
Load this new file after saving:

Code: Select all

source ~/.bashrc
Post Reply