title: failed opening required in laravel warning and fatal error
body: <p>laravel giving error  failed opening required thrn (file path)(include_path='C:\xampp\php\PEAR')in (file path)</p>
  
  <pre><code>//my index file code id shown below
  
  
  //require __DIR__.'public/vendor/autoload.php';
  require_once $_SERVER['DOCUMENT_ROOT'].'public/vendor/autoload.php';
  
  /*
  |--------------------------------------------------------------------------
  | Turn On The Lights
  |--------------------------------------------------------------------------
  |
  | We need to illuminate PHP development, so let us turn on the lights.
  | This bootstraps the framework and gets it ready for use, then it
  | will load up this application so that we can run it and send
  | the responses back to the browser and delight our users.
  |
  */
  
  //$app = require_once __DIR__.'/public/bootstrap/app.php';
  $app = require_once (realpath($_SERVER["DOCUMENT_ROOT"]).'/public/bootstrap/app.php';
  </code></pre>