Page 1 of 1

Laravel installation

Posted: Wed 28. Oct 2020, 19:54
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!

Re: Laravel installation

Posted: Wed 28. Oct 2020, 22:46
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.

Re: Laravel installation

Posted: Thu 29. Oct 2020, 02:00
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!

Re: Laravel installation

Posted: Tue 28. Jun 2022, 00:06
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