title: Cannot set PHP include_path
body: <p>I have uploaded all my files in var/www/html and in one of my php files I have this line : </p>
  
  <pre><code>require_once('libraries/stripe/init.php');
  </code></pre>
  
  <p>the structure of my folders are list this:</p>
  
  <pre><code>www
   -html/
         -libraries
             -&gt; Stripe -&gt; init.php
         -register.php
  </code></pre>
  
  <p>I keep getting this error message:</p>
  
  <blockquote>
    <p>Warning: require_once(libraries/Stripe/init.php): failed to open stream: No such file or directory in /var/www/html/register.php on line 116</p>
    
    <p>Fatal error: require_once(): Failed opening required 'libraries/Stripe/init.php' (include_path='.:/usr/share/php:/var/www/html/') in /var/www/html/register.php on line 116</p>
  </blockquote>
  
  <p>my php.ini file used to be like this </p>
  
  <blockquote>
    <p>include_path= ".:/usr/local/php/pear/"</p>
  </blockquote>
  
  <p>but based on some answers here i changed it to </p>
  
  <blockquote>
    <p>include_path='.:/usr/share/php:/var/www/html/'</p>
  </blockquote>
  
  <p>but it's not working!</p>
  
  <p>Edit: in my libraries folder I have file called index.php the content is:</p>
  
  <pre><code>&lt;?php 
  header("Location: ../"); die();
  </code></pre>