Topic: PHP 7.4 CentOS 8 and exec()
Hi
I've recently updated a copy of mailwatch on one of my servers. I ran into a problem where some info is not getting displayed. Tracing the problem, the info that is retreived is generated in part by the exec() function. However, nothing is being returned when the code is being run.
The snippet of code in question is:
exec("which clamscan", $clamscan);
I am running php 7.4.7 from Remi's repo on CentOS 8. I have no idea where to begin diagnosing the issue other than to say nothing in php.ini nor php-fpm.conf or their included files have any line disabling exec.
Please help
Thanks