how to run php cli in linux code example Example: php run command line shell_exec('ls'); // or exec('ls');