Manage disabled PHP functions with CloudLinux
CloudLinux's PHP Selector lets you toggle individual PHP functions without editing php.ini by hand. The same interface is available in both cPanel and DirectAdmin under Select PHP Version.
1. Open Select PHP Version
-
Log in to cPanel or DirectAdmin.
PosaHosting shortcut
Launch your panel from My Account
-
Open the
Select PHP Versionapplication:cPanel:
SoftwaresectionDirectAdmin:
Extra Featuressection
2. Edit the disable_functions list
-
Switch to the Options tab. The
disable_functionsfield lists every function currently blocked for your account: -
To enable a function, remove its name from the comma-separated list. To disable an additional function, append its name after a comma. Changes take effect immediately—no restart or save button beyond updating the field.
Out of the box, these functions are disabled on PosaHosting accounts:
curl_multi_exec, dl, exec, passthru, pcntl_exec, popen , posix_kill, posix_mkfifo, posix_setuid, proc_close, proc_open, proc_terminate, shell_exec, system, ftp_exec, leak, posix_setpgid, posix_setsid, proc_get_status, proc_nice, show_source, escapeshellcmd, showsource, symlink, escapeshellarg, escapeshellcmd
Warning
Most entries on this list are disabled because they expose shell-level access from PHP—a common attack vector. Only re-enable a function when a specific application documents that requirement, and remove it again once it is no longer needed.