in this video i will show you how to run a C program (example: hello.c) from php using shell_exec() ..
when it trying to run shell_exec('hello') .. it doesn't work ..
i tried other way like this : shell_exec('./hello')
and works.
---
see this video for details.