• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

How to disable PHP "exec" & co. server-wide on the OS level

Bitpalast

Plesk addicted!
Plesk Guru
Security tests have shown that without a disabled exec command in the php.ini settings of each account customers can easily read-access files like /etc/passwd and manipulate other files on the host machine.

We would like to eliminate the need to have a disabled_functions=exec... listed in the individual php.ini settings. Can this command be disabled for all PHP instances regardless what a user enters into his php.ini settings?
 
Back
Top