Monthly Archives: November 2017

Laravel Installation On Shared Hostings

  • Unzip the main zip file and upload your public_html folder (Linux hosting user will not upload vendor folder)
  • Give 777 permission to storage/ and bootstrap folder
  • Create database in phpmyadmin and import .sql file from DB folder (db.sql)
  • Set Database in .env file
  • Move all public files to root folder in(public_html or your website folder)
  • open index.php

    to

  •  
  • $app->bind(‘path.public’, function() { return __DIR__; });
  • (Add this index.php)
  • also set 777 recursive permission to storage,bootstrap and puclic/uploads folders
  • Site is ready