laravel installation on shared godaddy hosting 1 of 2



Laravel on shared Godaddy hosting

You need the following for the task.
1) SSH client.. download it
2) your SSH info.. get if from godaddy CPanel
3) composer.phar file. download it by following instructions.

Key issues and solution:
——————
1) if composer is installed in bin at the root.. it won’t execute no mater what you do (change privilege etc). So create your own bin folder.

2) use the command below provided by me.. Do not use the command provided on laravel official website. (after composer there is extention “.phar” don’t miss that)
composer.phar create-project laravel/laravel your-project-name

3) edit the .htaccess file
RewriteEngine On

RewriteCond %{REQUEST_URI} !^/yourlaravelinstalledfolder/public/.*$
RewriteRule ^(.*)$ /yourlaravelinstalledfolder/public/$1 [L]

source

Reply


Build A Site Info