here is my whole code
`<?php
$command = '/home/evansv2/bin/main 2>&1';
$output = exec($command);
echo $output;
?>
sh: /home/evansv2/bin/main: Permission denied
`
if someone can help or guide me how to get a custom hello world program to execute would be appreciated
I added the "2>&1" to force output, when I tested system commands such as 'ls' etc they all work, but custom programs , don't seem to want to work.