With the new feature to easily set PHP-options, some values in the custom php.ini's are set in a wrong manner.
Example:
Switching
'safe_mode' to 'off'
in the subscription's PHP Settings will cause the php.ini in /var/www/vhosts/$domain%/etc to take the value
Instead it should be set to
On the other hand, setting the 'safe_mode'-option in the Service Plan (Admin-Panel >> ServicePlan >> %Plan% >> PHP Settings) works in weird manner.
Switching 'safe_mode' to 'on' causes all custom php.ini's to be updated with safe_mode = "on" (with the wrong notation).
Switching it to 'off' causes nothing (in fact: value is set to 'default') - the initial value from /etc/php.ini (which in my cas is 'On') is taken into account.
So the new feature seems to have some optimisation capabilities...
Anyone having the same issues?
---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Panel 10.4.4 MU#5
CentOS 5
Linux 2.6.18-194.26.1.el5xen
PHP 5.3.3-1.el5_6.1 (updated with plesk update)
MySQL 5.0.77-4.el5_6.6 (updated with plesk update)
Apache 2.2.3-53.el5.centos.3
PROBLEM DESCRIPTION AND STEPS TO REPRODUCE
New PHP Settings-feature writes options to /var/www/vhosts/%domain%/etc/php.ini with quotes, which some 3rd party software does not interpretate.
Different behaviour with the PHP Settings in templates: some values aren't set at all
(i.e. safe_mode > 'off', results in 'default'-value for 'safe_mode')
ACTUAL RESULT
EXPECTED RESULT
The values should be set without quotes,
the settings in Service Plan-templates should work all over.
--------------------------------------------------------------
Example:
Switching
'safe_mode' to 'off'
in the subscription's PHP Settings will cause the php.ini in /var/www/vhosts/$domain%/etc to take the value
which seems not to work for i.e. joomla. (joomla reports it to be "on", but phpinfo() says, its "off")safe_mode = "off"
Instead it should be set to
safe_mode = off
On the other hand, setting the 'safe_mode'-option in the Service Plan (Admin-Panel >> ServicePlan >> %Plan% >> PHP Settings) works in weird manner.
Switching 'safe_mode' to 'on' causes all custom php.ini's to be updated with safe_mode = "on" (with the wrong notation).
Switching it to 'off' causes nothing (in fact: value is set to 'default') - the initial value from /etc/php.ini (which in my cas is 'On') is taken into account.
So the new feature seems to have some optimisation capabilities...
Anyone having the same issues?
---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Panel 10.4.4 MU#5
CentOS 5
Linux 2.6.18-194.26.1.el5xen
PHP 5.3.3-1.el5_6.1 (updated with plesk update)
MySQL 5.0.77-4.el5_6.6 (updated with plesk update)
Apache 2.2.3-53.el5.centos.3
PROBLEM DESCRIPTION AND STEPS TO REPRODUCE
New PHP Settings-feature writes options to /var/www/vhosts/%domain%/etc/php.ini with quotes, which some 3rd party software does not interpretate.
Different behaviour with the PHP Settings in templates: some values aren't set at all
(i.e. safe_mode > 'off', results in 'default'-value for 'safe_mode')
ACTUAL RESULT
EXPECTED RESULT
The values should be set without quotes,
the settings in Service Plan-templates should work all over.
--------------------------------------------------------------
Last edited: