Note that there are some explanatory texts on larger screens.

plurals
  1. POpear include_path data folder is no longer valid
    text
    copied!<p>I have a vps with centOS LAMP stack, and multiple domains/ips. A long time ago I had someone more familiar with SSH install pear on the vps, and I believe he configured it for a specific user/domain, which no longer exists, and now pear is throwing errors.</p> <p>The old user/domain which no longer exists is "ljsspin" but when I look at my php.ini, the include path is:</p> <pre><code>include_path = ".:/usr/share/pear/:/usr/share/php:/var/www/ljsspin/data/pear/:" </code></pre> <p>I can execute pear commands in ssh, but I'm assuming the fact that the last portion of that include path no longer exists is the reason for the error. </p> <p>So my question is how do I install the necessary /data/pear files into a new directory? I've tried upgrading pear, and that, too, produced an error (unable to unpackage a structure file).</p> <p>Thanks for any guidance.</p> <p>Exact error message I receive:</p> <pre><code>Warning: include() [function.include]: open_basedir restriction in effect. File(/usr/share/pear/Mail.php) is not within the allowed path(s): (/var/www/steve/data:.) in /var/www/steve/data/www/newdomain.com/admin/dashboard/includes/pdf.php on line 3 Warning: include(/usr/share/pear/Mail.php) [function.include]: failed to open stream: Operation not permitted in /var/www/steve/data/www/newdomain.com/admin/dashboard/includes/pdf.php on line 3 Warning: include() [function.include]: Failed opening 'Mail.php' for inclusion (include_path='.:/usr/share/pear/:/usr/share/php:/var/www/ljsspin/data/pear/:') in /var/www/steve/data/www/newdomain.com/admin/dashboard/includes/pdf.php on line 3 </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload