• 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.

Can't set mail.force_extra_parameters via CLI

mmic9net

New Pleskian
I tried to change mail.force_extra_parameters via CLI but I had no success.

I created a file called mysettings containing just one line:
mail.force_extra_parameters="[email protected]"

I execute the following command:
/usr/local/psa/bin/subscription_settings --update-php-settings yyy.zzz -settings mysettings

I have no error message but php.ini file is unchnaged

I'm using Plesk 12.0.18 on CloudLinux 6.6 with CageFS active

Can you help me?
 
All works fine for me. Before applying:

# /usr/local/psa/bin/subscription_settings --show-php-settings rolfsonlangworth.ppu12-0.demo.pp.plesk.ru
General settings:
safe_mode = off
open_basedir = {WEBSPACEROOT}{/}{:}{TMP}{/}
Performance settings:
Additional directivies:

Applying:

# /usr/local/psa/bin/subscription_settings --update-php-settings rolfsonlangworth.ppu12-0.demo.pp.plesk.ru -settings mysetting

After applying:

# /usr/local/psa/bin/subscription_settings --show-php-settings rolfsonlangworth.ppu12-0.demo.pp.plesk.ru General settings:
safe_mode = off
mail.force_extra_parameters = [email protected]
open_basedir = {WEBSPACEROOT}{/}{:}{TMP}{/}
Performance settings:
Additional directivies:
 
Is there any way I can debug it?

I've double checked everything but still have no success: change is NOT recorded in psa database, php.ini file mtime changes but content still remains the same.
 
Back
Top