As suggested by Alvaro, I put my comment as an answer. Matt, this will run this command as root.
@Matt, /etc/sudoers (btw, visudo, ). , , sudo whatever, -, root, , .
root , /etc/sudoers ( visudo):
www-data ALL=(ALL) NOPASSWD: executable_full_path
root.
sudo -u root executable_full_path arguments
( root). , , www- root, sudo, .