title: PHP - How to know if server allows shell_exec
body: <p>On some servers, PHP is not allowed to run shell commands via shell_exec. How can I detect if current server allows running shell commands via PHP or not? How can I enable shell commands execution via PHP?</p>