php - How to add Laravel 4 to shared hosting? -


i'm trying add laravel 4 application shared hosting. problem i'm having keep getting error:

fatal error: require(): failed opening required '/home/webkrunc/public_html/bootstrap/autoload.php' (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/webkrunc/public_html/index.php on line 21

maybe can see made mistake.

my folder structure:

webkrunch.co.za/ (domain root)     -- main-laravel     -- public_html         -- laravel files 

in main-laravel/bootstrap/paths.php have:

'app' => __dir__.'/../../main-laravel/app', 'public' => __dir__, 'base' => __dir__.'/../../main-laravel', 'storage' => __dir__.'/../../main-laravel/app/storage', 

and in public_html/index.php have:

require __dir__.'/../../main-laravel/bootstrap/autoload.php';  $app = require_once __dir__.'/../../main-laravel/bootstrap/start.php';    

i believe have set many segments away in here

require __dir__.'/../../main-laravel/bootstrap/autoload.php';  

try playing removing 1 one , see effects. must work, have come across similar things before


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -