• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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