• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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