• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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