Articles in this section

How to allow users to override PHP settings with .user.ini files in Plesk

kb: how-to

Question

  • How can I allow users to override Plesk administrative PHP settings using .user.ini files on my Plesk server?
  • How to disable the global php_admin_value setting to allow users to define their own PHP configurations using .user.ini files?

Answer

  1. Connect to the Plesk server via SSH.
  2. Edit the Plesk panel.ini file.
  3. Add the following section:

    CONFIG_TEXT: [php]
    settings.useAdminValuesForPerformanceSettings = false

Warning: Enabling this option grants users the ability to change any PHP settings using .user.ini files.

Was this article helpful?

Comments

1 comment
Date Votes
  • Thanks, this solved the issue. After adding settings.useAdminValuesForPerformanceSettings = false to panel.ini, users were able to override PHP settings via .user.ini as expected. Giftogram Just be aware that this gives users control over PHP configuration options.

    0

Please sign in to leave a comment.