Theme editor

Guide Plesk How to Configure PHP disable_functions in Plesk Panel – 2025 Guide

  • Thread starter Thread starter CL4Y
  • Start date Start date
  • Views 126

CL4Y

Keyboard Ninja
Administrator
Thread owner

🛡️ How to Configure PHP disable_functions in Plesk Panel​

If you want to enhance your server’s security, disabling certain PHP functions is a great first step.
Plesk Panel makes this process simple. The disable_functions setting allows you to block PHP functions that might pose security risks.



🔧 Configuring disable_functions Globally on the Server​

Log in to your Plesk Panel, then go to Tools & SettingsGeneral SettingsPHP Settings.
Next, select the PHP version you want to configure (for example, FPM application).
In the php.ini editor, search for disable_functions and add or edit your configuration as needed.

⚠️ You need to repeat the steps above for every PHP version installed on your server.



🔧 Configuring disable_functions for Specific Service Plans​

Log in to your Plesk Panel and navigate to Service Plans.
Click on the plan you want to modify, then go to the PHP Settings tab.
Here, you can define your disable_functions values per hosting package.

⚠️ The configuration you set here will apply to all domains that use this particular service plan.

jetto-plesk-panel-disable-function-setup-1.gif


📌 Keep in mind that disabling certain functions may cause issues with some applications or plugins.
For example, some CMS platforms or scripts may rely on functions like exec().
Therefore, ensure that you only disable functions you don’t need for your hosted applications.
 
Thread owner
Configuring the disable_functions setting correctly is a simple yet effective way to enhance your server's security. 😊
 
Back
Top