• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

safe_mode_include_dir always locally = 0

D

DmitryB

Guest
Hello,

I do need a hand with this issue - i know it had been raised several times but it seems no matter what i do i can't get it to work: my safe_mode_incude_dir local value is always = 0. I have no idea where it's coming from since i did all the required steps to fix it:

1. Included the desired path '/usr/local/share' to include_path in php.ini
2. Included the desired path '/usr/local/share' to safe_mode_include_dir in php.ini

so it's set fine serverwide (but not locally for vhost)

3. included php_admin_value open_basedir "/var/www/vhosts/domain.name/httpdocs:/usr/local/share:/tmp" to vhost.conf
4. included php_admin_flag safe_mode_include_dir "/usr/local/share" to vhost.conf also
5. reconfigured vhost with /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.name
6. restarted apache

but still no success. i also tried all possible variations of this steps, still no luck.
is it at all possible?

I'm on Centos5 with Plesk 9.2


Thanks in advance for any response.
 
RE: Please clarify...

Hello Andrey, first of all thank you for response.
Its rather rare to get a response from Parallels employee so i'm not going to waste your time and hope we can clarify this quickly.

I do not have any custom configured events, except 'Service stopped' which is i guess the default one. It's a fresh 9.2 install on a new box.

I am getting the results with phpinfo(); function that shows both global serverwide setting and a local setting.

P.S. After some further investigation yesterday i found out that if i turn safe mode off for virtual host (that i don't want to do either locally or globally) my safe_mode_include dir changes from 0 to what it should be.

Dmitry.



Hello,
Please clarify if there are any custom configured events in your Parallels Plesk Control Panel.
You can find more information about event handlers in the following article:

http://download1.swsoft.com/Plesk/P...-unix-advanced-administration-guide/60165.htm

Also please clarify how you check that the safe_mode_incude_dir is always = 0
 
Back
Top