• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue open_base_dir

Sylvain Ard

Basic Pleskian
Hi,
I have the error :
Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/insectes-entomologie.net /httpdocs/portail/lib_tela/pear/Mail/mime.php on line 66
I think I have to change the open_base_dir in my PHP Settings
The file PEAR.php is in
/httpdocs/portail/lib_tela/pear/
I write this in my open_base_dir but it doesn't works :
{WEBSPACEROOT}{/}{:}{TMP}{/}:/var/www/vhosts/insectes-entomologie.net/httpdocs/portail/lib_tela/pear/
 
If is under the same webhost the PEAR files, then you not need to use open_basedir, more probably you need to tell to php script where to find PEAR.php
 
No I want to PHP to find the Pear files into this directory at the root, what is not good in my syntax
I tried to write {/} in place of / but it doesn't works too
 
Back
Top