• 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

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