Ok, I figured it out. 🙂 I posted 2 minutes too soon, LOL Anyway, this is how:
You can disable functions in this line(in php.ini):
disable_functions =
I changed this line to this:
disable_functions = shell_exec
And POOF! No more security hole. 😃