New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Disable dangerous PHP functions :/

Started by Jasxex, June 20, 2020, 12:24:35 AM

Previous topic - Next topic

Jasxex

I also can't figure out how to disable dangerous PHP functions. I have tried like this in my PHP.ini

disable_functions = "exec, system"

But that didn't work so now I trying this below.

# disable functions
disable_functions=exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,


ekgrad

Can you guide me how to do this per user. PHP-FPM does not seem to honor .user.ini disable_functions directive

Igor S.

You can disable functions in /opt/alt/php-fpm%VERSION%/usr/php/php.ini



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services