Fully Managed VPS Server Hosting in the USA
If you have never managed a server in any shape or form before then a…
We will go over how to enable PHP-FPM exec() in this post. Sometimes after enabling PHP-FPM, the exec() function stops functioning, and we cannot locate any disabled functions in the PHP settings. After turning off PHP-FPM, we can execute it once more.
In case you run across this problem, kindly take the following actions:
First, confirm that PHP-FPM is authorized on the domain where the problem is occurring. For that, follow these steps:
After this, follow these steps to make PHP-exec() FPMs available:
#php -v
# vi /opt/cpanel/ea-php70/root/etc/php-fpm.d/blah.domain.tld.conf
php_admin_value[disable_functions] = passthru,shell_exec,system
# /scripts/restartsrv_apache_php_fpmAnd that is how you can enable exec() in PHP-FPM.
Please feel free to get in touch with our support staff if you need any additional help with web hosting
Explore more hosting insights, tips and industry updates.
If you have never managed a server in any shape or form before then a…
Setting up your professional (custom domain) email on your iPhone or iPad allows you to…
PHP-Nuke is an open-source Content Management System (CMS) built on PHP and MySQL. Originally developed…