title: php get all disk linux ubuntu server 12.04
body: <p>i want get disk server</p>
  
  <p>i used commands php:</p>
  
  <pre><code>putenv('PATH='. getenv('PATH') .':/home/');
  
  $command_exec = exec("fdisk -l", $output, $result); 
  
  var_dump($output);
  </code></pre>
  
  <p>==> array(0) { }</p>
  
  <p>Can anyone guide me.</p>
  
  <p>thanks !</p>