Alejandro nailed it, adding clarification to the exception (Ubuntu or Debian) - I don't have the rep to add to the answer itself:
sudoers file:sudo visudo
exception added:www-data ALL=(ALL) NOPASSWD: ALL
Alejandro nailed it, adding clarification to the exception (Ubuntu or Debian) - I don't have the rep to add to the answer itself:
sudoers file:sudo visudo
exception added:www-data ALL=(ALL) NOPASSWD: ALL