• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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