run php run in console code example Example: php run command line shell_exec('ls'); // or exec('ls');