• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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