How to Enable exec() in PHP-FPM?
Sometimes the exec() function is not working after turning on the PHP-FPM and in php configuration file we could not find any disable functions. If we turned off the PHP-FPM the exec function is working again. If you are facing such issues, please follow the below steps.
First, you need to verify the PHP-FPM is enabled on the domain that facing the issue. Please follow the steps.
1) Login to WHM.
2) Navigate to MultiPHP Manager to check whether the domain is using PHP-FPM or not.
3) From that page, you can verify that the domain is using PHP-FPM.
Now you have verified that PHP-FPM is on the server. So you need to follow the steps to enable exec() in PHP-FPM.
1) Login to server via SSH.
2) Check the PHP version of the server using the below command.
#php -v
3...