php cli ignores disabled functions

kasztan99

New member
Joined
Jun 5, 2024
Messages
2
Hi.
are anybody noticed that php-cli compiled via DirectAdmin ignores the disable_functions settings in php.ini and maybe know how to change this behavior?
I don't have this problem with php from cloudlinux. But custombuild ones always display empty disabled_functions despite secure php being enabled and disabled functions being specified in loaded php.ini file.
 
Hello,

This is a designed action. DirectAdmin patches PHP to make it to ignore disable_functions in CLI. There was a topic on the forums explaining its decision. You might try and find it.
 
Back
Top