How to install Laravel via SSH and CageFS on Shared Hosting
Firstly you’ll need SSH access.
SSH into the server and go to directory where you want to install the application.
curl -sS https://getcomposer.org/installer | php
If that fails try the following:
curl -sSk https://getcomposer.org/installer | php — –disable-tls
Once installed test it with :
All should work successfully.
Next run the following to install Laravel:
php composer.phar global require “laravel/installer=~1.1”
It should install all dependencies,etc.
Once done load the site. If it gives and Internal Server Error you probably have permission errors.
run chmod to fix this set all the 755
run chmod 755 folder
or chmod 755 * -Rvf
Retry and load the website. All should be working and you should be greeted with the Laravel logo.
Also note if you get blank pages ensure you do the following:
# Group Writable (Group, User Writable)
chmod –R gu+w app/storage
# World-writable (Group, User, Other Writable)
chmod –R guo+w app/storage