Which PHP functions are disabled?
We disable the following functions due to our enforced PHP security guidelines or for performance reasons:
- exec()
- passthru()
- shell_exec()
- system()
- proc_open()
- popen()
- pclose()
- show_source()
- posix_kill()
- posix_mkfifo()
- posix_setpgid()
- posix_setsid()
- posix_setuid()
- posix_getpwuid()
- posix_uname()
- dl()
- pcntl_exec()
- proc_close()
- proc_get_status()
- proc_nice()
- proc_terminate()
- symlink()
- link()
- highlight_file()
- apache_child_terminate
- apache_get_modules
- apache_get_version
- apache_getenv
- apache_note
- diskfreespace
- disk_free_space
- opcache_reset
- opcache_compile_file
- opcache_get_configuration
- opcache_get_status
- opcache_invalidate
If for some reason you need access to the above functions, please open a support request, so we can evaluate your case.
Where to go next
- Override PHP.ini variables if your issue involves configurable PHP settings rather than disabled functions.
- Switch your PHP runtime if compatibility depends on the active PHP version.
- Learn why certain plugins are banned if a plugin relies on restricted or unsupported behavior.
- Enable WordPress debug logs if you need to investigate PHP-related errors.
Was this article helpful?