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
Disabled opcache_* functions are not proof that PHP OPcache is off. The WordPress Site Health opcode-cache check, introduced in WordPress 7.0, reports Opcode cache is not enabled if opcache_get_status is unavailable. For Dashboard checks, an optional phpinfo status check, and when to contact Support, see PHP OPcache on Pressidium.
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
- PHP OPcache on Pressidium if WordPress Site Health reports that opcode cache is not enabled.
- 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?