Contact sales@posahosting.com
Guides / Web Hosting Help / Enable or disable PHP functions (CloudLinux)

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

  1. Log in to cPanel or DirectAdmin.

    PosaHosting shortcut

    Launch your panel from My Account

  2. Open the Select PHP Version application:

    cPanel: Software section

    DirectAdmin: Extra Features section

2. Edit the disable_functions list

  1. Switch to the Options tab. The disable_functions field lists every function currently blocked for your account:

  2. 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.