• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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