• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

10.4.4 Php setting per domain not working

eilko

Regular Pleskian
---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk, 10.4.4 MU6, Centos6, i386

PROBLEM DESCRIPTION AND STEPS TO REPRODUCE
Go to: Home>Subscriptions>domain.net>Websites & Domains>PHP settings
set safe_mode to OFF.
Save.

ACTUAL RESULT
Refresh of this page: save_mode is not set. No php.ini is created in /var/www/vhosts/domain.net/etc

EXPECTED RESULT
PHP settings changed like done in controlpanel. php.ini created.

ANY ADDITIONAL INFORMATION
--------------------------------------------------------------
 
Why do you think that it should be written to php.ini?

safe_mode off

is written to /var/www/vhosts/plesk101.domain.ru/conf/13196768870.18476100_httpd.include

for example.
 
Why do you think that it should be written to php.ini?

Hello Igor,

with activated Option "run PHP as fastCGI application" (which I assume is set by many users) the safe-mode flag must be written to the local php.ini in /var/www/vhosts/%domain%/etc/php.ini

As I stated in my post (http://forum.parallels.com/showthread.php?t=209634), setting this value to "off" causes the default value (which mostley is "on") to be taken into account.

Seems to be the same for http://forum.parallels.com/showthread.php?t=209766
 
Ok. My colleagues from Plesk Service Team will check it and I inform you with results.
 
I have php as apache module. In the 13235976940.61096400_httpd.include file I have no references to safemode off. Only a reference to SetEnv PP_CUSTOM_PHP_INI /var/www/vhosts/domain.net/etc/php.ini . So assumed it there. So changes made in the panel are not saved in the include nor a ini file.
 
Back
Top