• 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

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