title: Cannot install MongoDB PHP driver on Linux (Ubuntu 12.04 LTS)
body: <p>I'm trying to install the MongoDB PHP driver, but I'm getting an unexpected error. When I run: <code>pecl install mongo</code> I get this:</p>
  
  <blockquote>
    <p>downloading mongo-1.4.5.tgz ...</p>
    
    <p>Starting to download mongo-1.4.5.tgz (141,417 bytes)</p>
    
    <p>..............................done: 141,417 bytes</p>
    
    <p>84 source files, building</p>
    
    <p>running: phpize</p>
    
    <p>Configuring for:</p>
    
    <p>PHP Api Version:         20090626</p>
    
    <p>Zend Module Api No:      20090626</p>
    
    <p>Zend Extension Api No:   220090626</p>
    
    <p>shtool at '/tmp/pear/temp/mongo/build/shtool' does not exist or is not executable.</p>
    
    <p>Make sure that the file exists and is executable and then rerun this script.</p>
    
    <p>If the command failed with 'phpize: not found' then you need to install php5-dev
    package</p>
    
    <p>You can do it by running 'apt-get install php5-dev' as a root user</p>
    
    <p>ERROR: `phpize' failed</p>
  </blockquote>
  
  <p>when I try to install php5-dev, it says that I already have the latest version, same thing if I run: <code>apt-get install php5-dev php5-cli php-pear</code></p>
  
  <p>Thank you.</p>