ZM_SYSTEM_SHUTDOWN

The system will need to have sudo installed and the following added to /etc/sudoers

apache ALL=NOPASSWD: /sbin/shutdown

to perform the shutdown or reboot