disablefunctions

Modify disable_functions for All PHP Versions in GoPanel

The disable_functions directive in php.ini allows you to disable specific PHP functions for security reasons. This is commonly used in shared hosting environments or when you want to restrict certain potentially dangerous functions.

Syntax

disablefunctions <PHP Function>

Examples

To disable the PHP functions exec, passthru, shell_exec, system, proc_open, and popen in GoPanel
$ /go/disablefunctions exec,passthru,shell_exec,system,proc_open,popen

To completely remove all disabled PHP functions (clearing the disable_functions directive)
$ /go/disablefunctions ""

Related GoPanel commands

maxexecutiontime - Change the Max Execution Time for All PHP Versions in GoPanel
memorylimit - Change PHP Memory Limit for All PHP Versions in GoPanel


At Your Service

Our team is on hand 24/7 to not only solve technical issues, but to offer the guidance and technical support you need to succeed online. Give us a ring.

+2 01006931666 Chat
© 2020 - 2025 GoPanel Inc., all rights reserved.