• 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.

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