title: PHP error: open_basedir restriction in effect
body: <p>I using this Yubico authentication PHP class: <a href="https://github.com/Yubico/php-yubico" rel="nofollow">https://github.com/Yubico/php-yubico</a>. I create php file test.php with this code:</p>
  
  <pre><code>&lt;?php
   require_once 'Auth/Yubico.php';
   $otp = "ccbbddeertkrctjkkcglfndnlihhnvekchkcctif";
  
   # Generate a new id+key from https://api.yubico.com/get-api-key/
   $yubi = new Auth_Yubico('42', 'FOOBAR=');
   $auth = $yubi-&gt;verify($otp);
   if (PEAR::isError($auth)) {
      print "&lt;p&gt;Authentication failed: " . $auth-&gt;getMessage();
      print "&lt;p&gt;Debug output from server: " . $yubi-&gt;getLastResponse();
   } else {
      print "&lt;p&gt;You are authenticated!";
   }
  ?&gt;
  </code></pre>
  
  <p>And do all instructions in this github library. When I open this script I get:    </p>
  
  <blockquote>
    <p>Warning: require_once(): open_basedir restriction in effect.
    File(/usr/share/php/Auth/Yubico.php) is not within the allowed
    path(s): (/var/www/hmci/data:.) in
    /var/www/hmci/data/www/hmci.ru/php-yubico/test.php on line 2 Warning:
    require_once(/usr/share/php/Auth/Yubico.php): failed to open stream:
    Operation not permitted in
    /var/www/hmci/data/www/hmci.ru/php-yubico/test.php on line 2 Fatal
    error: require_once(): Failed opening required 'Auth/Yubico.php'
    (include_path='.:/usr/share/php:/usr/share/pear') in
    /var/www/hmci/data/www/hmci.ru/php-yubico/test.php on line 2</p>
  </blockquote>
  
  <p>How to solve this problem?</p>