Hi,
It looks like there is a bug in Plesk 11.5. If we change the custom PHP configuration for a service plan it is not applied to synchronised subscriptions. We got this both while using the CLI as within Plesk's web interface.
---------------------------------------------------------------
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk Panel 11.5.30 Update #37 CentOS 6.5 (Final) (64-bit)
This is a container running on Parallels Virtuozzo 4.7.0
PROBLEM DESCRIPTION
After customizing the open_basedir setting of a service plan this change is not applied to the synchronised subscriptions (tested using CLI and through web interface).
STEPS TO REPRODUCE
ACTUAL RESULT
The old/default open_basedir setting.
EXPECTED RESULT
The newly/changed open_basedir setting.
ANY ADDITIONAL INFORMATION
This problem also occurs while changing the open_basedir setting of a service plan using Plesk's web interface. Individual PHP configuration for a subscription works, but is unwanted as this unlocks the subscription from its service plan.
It looks like there is a bug in Plesk 11.5. If we change the custom PHP configuration for a service plan it is not applied to synchronised subscriptions. We got this both while using the CLI as within Plesk's web interface.
---------------------------------------------------------------
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk Panel 11.5.30 Update #37 CentOS 6.5 (Final) (64-bit)
This is a container running on Parallels Virtuozzo 4.7.0
PROBLEM DESCRIPTION
After customizing the open_basedir setting of a service plan this change is not applied to the synchronised subscriptions (tested using CLI and through web interface).
STEPS TO REPRODUCE
- Get the current PHP settings:
Code:
[B]# /usr/local/psa/bin/service_plan --show-php-settings MyServicePlan[/B] General settings: safe_mode = off [B]open_basedir = {WEBSPACEROOT}{/}{:}{TMP}{/}[/B] Performance settings: Additional directivies:
- Create a file to set a custom value of the open_basedir setting in PHP:
Code:
[B]# vim /tmp/customphpsettings[/B] open_basedir = {WEBSPACEROOT}{/}{:}{TMP}{/}{:}{/}usr{/}share{/}pear{/}
- Apply this setting to the service plan:
Code:
[B]# /usr/local/psa/bin/service_plan --update-php-settings MyServicePlan -settings /tmp/customphpsettings[/B]
- Check the new PHP setting:
Code:
[B]# /usr/local/psa/bin/service_plan --show-php-settings MyServicePlan[/B] General settings: safe_mode = off [B]open_basedir = {WEBSPACEROOT}{/}{:}{TMP}{/}{:}{/}usr{/}share{/}pear{/}[/B] Performance settings: Additional directivies:
- Check a synchronised subscription using this service plan: the old setting is still used:
Code:
[B]# cat /var/www/vhosts/system/[I]DOMAIN.TLD[/I]/etc/php.ini | grep "open_basedir"[/B] open_basedir = "/var/www/vhosts/[I]DOMAIN.TLD[/I]/:/tmp/"
ACTUAL RESULT
The old/default open_basedir setting.
EXPECTED RESULT
The newly/changed open_basedir setting.
ANY ADDITIONAL INFORMATION
This problem also occurs while changing the open_basedir setting of a service plan using Plesk's web interface. Individual PHP configuration for a subscription works, but is unwanted as this unlocks the subscription from its service plan.