Easy way without getting down and dirty with the php.ini file is on the server admin. Im using DirectAdmin, and probably similar options in cPanel and Plesk:
scroll down to 'advanced features' > click 'select PHP version' > 'options' > paste the following in the 'disable functions' input:
exec,system,passthru,pcntl_exec,popen,proc_open,shell_exec