Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $return = exec('whoami');
- echo $return."n"; // return [myname]
- $process = new Process('whoami'); // The symfony process
- echo $process->getOutput(); // return nothing @_@
- ps aux | egrep '(apache|httpd)'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement