title: install both mysql and mysqlnd on ubuntu 12.04
body: <p>I am having server at digital ocean and trying to run a custom php application. On my development machine:
  Mac OSX 10.7.5
  PHP: 5.3.6
  with mysql, mysqli, mysqlnd, pdo mysql</p>
  
  <p>But on the server:
  Ubuntu 12.04
  PHP: 5.3.10</p>
  
  <p>with mysql, mysqli and pdo mysql</p>
  
  <p>I require mysqlnd to run my app. If i try</p>
  
  <pre><code>apt-get install php5-mysqlnd
  </code></pre>
  
  <p>it is giving error:</p>
  
  <pre><code>The following packages will be REMOVED:
  php5-mysql
  The following NEW packages will be installed:
  php5-mysqlnd
  </code></pre>
  
  <p>If I install it, my app code breaks as it uses many mysqli commands.</p>
  
  <p>I searched and followed many stackoverflow question on same topic but all in vain.
  Though, I haven't tried configuration option</p>
  
  <pre><code>./configure --with-mysql=mysqlnd \
  --with-mysqli=mysqlnd \
  --with-pdo-mysql=mysqlnd \
  </code></pre>
  
  <p>I dont know how to proceed with this and I could not find and tutorials or article on this.</p>
  
  <p>How My development machine has both but server couldn't. </p>
  
  <p>Please guide.</p>