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
Post a Comment