Enable exec for one account only
Hi,
I have a dedicated server (CENTOS 7.4 v68.0.19, php 5.6 and 7.0)
I have exec() disabled by default.
49871
I am installing Xenforo in one of my accounts, and I need exec() for some media addons I need to install.
Can I have exec() just for one account?
In this case, could anyone explain me how to do it?
Thanks a lot!
-
Hello, It's only possible if you use suPHP or PHP-FPM. If you are using PHP-FPM, please see the following thread: Enabling PHP-FPM forces disable_functions Thank you. 0 -
Thanks! 0 -
using PHP is possible check if PHP is running as PHP-FPM ? 0 -
using PHP is possible check if PHP is running as PHP-FPM ?
php_sapi_name() ; PHP: php_sapi_name - Manual0 -
php_sapi_name() ; PHP: php_sapi_name - Manual
your command run perfect, many thanks :)0
Please sign in to leave a comment.
Comments
5 comments