title: Laravel 5 is not working on shared hosting
body: <p>I have tested my Laravel 5 project on localhost its working fine with this url - http://localhost/project-name/public/</p>
  
  <p>Then I uploaded my project on shared hosting, I have made desirable changes for database on .env file then trying to access it with the url - http://companysite.com/folder/innerFolder/public/</p>
  
  <p>but not working and getting 500 internal server error </p>
  
  <p>I have gone through with other questions with the related but no answer lead me to my solution. I have done following steps</p>
  
  <ul>
  <li>upload my project on root directory parallel to public_html</li>
  <li>update to project/public/index.php </li>
  <li>try to create subdomain pointing to my project but didn't succeed</li>
  </ul>
  
  <blockquote>
    <p>Internal Server Error</p>
    
    <p>The server encountered an internal error or misconfiguration and was
    unable to complete your request.</p>
    
    <p>Please contact the server administrator at
    webmaster@techphant.techphant.com to inform them of the time this
    error occurred, and the actions you performed just before this error.</p>
    
    <p>More information about this error may be available in the server error
    log.</p>
    
    <p>Additionally, a 500 Internal Server Error error was encountered while
    trying to use an ErrorDocument to handle the request.</p>
  </blockquote>