Most likely, you are not configured to output errors, so there are no messages that this feature is disabled due to security reasons. Calling disabled functions causes an E_WARNING error , which does not terminate the script.
Functions: exec, system, passthru, readfile, shell_exec, escapeshellarg, escapeshellcmd, proc_close, proc_open, ini_alter, dl, popen, parse_ini_file, show_source.
By default, disabled in PHP configuration. Since they are most often used in malicious scripts and pose a threat to the security of the system if used incorrectly or violate the general principles of security.
In order to allow the execution of certain functions or all, you must remove the php.ini file from the settings file in the disable_functions of the file or comment out this line. This line looks like this:
disable_functions = "exec,system,passthru,readfile,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,dl,popen,parse_ini_file,show_source,curl_exec,pcntl_exec,expect_popen"