Failed opening required 'vendor/autoload.php' error when trying require_once('vendor/autoload.php');
<p>Trying to get Stripe library up and running. Get failed opening required 'vendor/autoload.php' error.</p>

<p>autoload.php is there in /vendor</p>

<p>ran composer update, then composer install , didn't help.</p>

<p><strong>config.php</strong></p>

<pre><code>    &lt;?php

require_once('vendor/autoload.php');

    $stripe = array(
      "secret_key"      =&gt; "XXXXXXXXXXXXXXXXXXXXXX",
      "publishable_key" =&gt; "XXXXXXXXXXXXXXXXXXXXXX"
    );

    \Stripe\Stripe::setApiKey($stripe['secret_key']);

?&gt;
</code></pre>

<p><strong>autoload.php</strong></p>

<pre><code>&lt;?php

// autoload.php @generated by Composer

    require_once __DIR__ . '/composer' . '/autoload_real.php';

    return ComposerAutoloaderInit18eff69591fc6597a849a05ec4932261::getLoader();
</code></pre>