• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

BIG PROBLEM: Plesk 8.3 & Webmail using "php_admin_value include_path ...."

E

ewdx

Guest
Hi all,

We have dedicated servers and have hit a HUGH problem. In short:

We have an application that uses the PHP function ini_set('include_path'... to add 2 more paths to the PHP include_path, however, when running Plesk 8.3 -> PHP 5.2.5 this becomes a real problem, as soon as anybody on any domain uses Webmail, it breaks all of our sites on all domains, because PHP 5.2.5 introduced a security fix to not allow scripts to override explicitly set php_admin_value and php_admin_flag directives in httpd.conf and its included configuration files.

Is there a way I can add

php_admin_value include_path "/var/www/vhosts/domain.com/httpdocs/path:."

Note: the domian.com would need to change for each domain.

into each domain, without it being overwritten each time a domain is altered via the Plesk 8.3 Admin Panel, as whenever a change is made, the httpd.include file is overwritten !

It would be good if this could be added as a Plesk default, as when we create new domains, the values will be added to the include_path

Any Help would be Appreciated.

This is URGENT as all our sites are broken and down !!!

ALTERNATIVELY, if there is a way to have Horde Webmail work without setting the include_path in the Apache config files, then that would work as well.
ie: remove the php_admin_value include_path "....." from Horde Webmail ?????
 
Thanks for the comments.

If you look at the Changelogs to PHP 5.2.5, it was intentionally done this way.

But a few hours ago, I did change the php_admin_value to php_value in
zz010_psa_httpd.conf for the Horde (Webmail) paths on ports 80 and 443 and it works just fine.

Now can access Webmail, and the sites remain working.

So my next question is, what events cause the file zz010_psa_httpd.conf to be overwritten / regenerated by Plesk ?

I will probably write a cron script to modify this file if it changes. When to run ?
 
Back
Top