For the safety of all users we disable a small set of PHP functions that are frequently associated with security risks, server abuse, or unsafe system-level access.
These generally include functions for:
Execution system commands
Unsafe file handling in non-allowed directories
Dynamics of code evaluation
Control server level processdisabled because
For example, managed WordPress environments typically disable the ability to use functions such as exec(), shell_exec(), system(), passthru() and proc_open(). These functions can be used to execute shell commands on the server. This is not needed for regular WordPress use and can be a serious security risk if exploited.
eval() is another function that may be disabled, because it allows dynamic code execution that can be exploited if malicious code is injected into a site.
Using the disable of a limited set of PHP functions we can accomplish the following:
Enhanced Security
We block system-level access, so there is less chance of malware execution, privilege escalation and remote code execution attacks.
More Stability
One website can’t impact server performance or other users on the same infrastructure negatively by running risky functions.
WordPress Compatibility:
These functions are not needed for WordPress core, themes, or most plugins to work. These can be turned off without affecting how the website works normally.
No, most of the time. These functions are not needed for a normal WordPress install. Basic features like:
1) Pages and posts
2) Uploads media
3) Themes and Plugins
4) WooCommerce capabilities
all work fine.
Refactoring or replacement with alternatives may be necessary for very specialized plugins or custom scripts that require server level execution.
If a plugin attempts to use a disabled PHP function, we recommend:
Looking for a different plugin that doesn't require system level access
Reaching out to the plugin developer for a safe workaround
Use supported WordPress APIs instead of direct system calls
If you’re unsure, our support team can help you determine a safe alternative for you.