• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Plesk replaces php settings made on specific domains

BrunoMiguel

New Pleskian
Hello all,
This is a very strange situation, and we don't know what is causing it.
We have PEAR packages installed on a shared server ( /usr/share/pear/ ) for our customers to use Mail library. When a customer needs this packages, we go to Domains -> domain.com -> PHP Settings and we manually add that folder to the include_path and open_basedir fields.
Some days after that, our customer can't access those files:

[Mon May 14 16:20:27 2012] [warn] [client xx.xxx.xxx.xx] mod_fcgid: stderr: PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'Mail.php' (include_path='.:/usr/share/pear') in /var/www/vhosts/domain.com/httpdocs/sendmail.php on line 84, referer: http://www.domain.com/

Please note that the error make a reference to "/usr/share/pear" (without the last slash). But when we check again PHP settings for that domain, it's well configured (with /usr/share/pear/).

Is anyone able to explain why this happens? It happened several times, and we need a definitive resolution for this.

Thanks.
 
Back
Top