title: PHP extensions dir with YUM
body: <p>I've installed PHP on a Linux machine but can't seem to find the 'modules' directory from PHP.
  On Mac with MAMP installed, this folder is located in <code>~/Applications/MAMP/bin/php/php5.3.6/</code>, but I can't figure out where this folder is installed on Linux, with <code>yum</code>.</p>
  
  <p>Anyone who nows where yum installs these PHP-directory?</p>
  
  <hr>
  
  <p><strong>Edit: some more information about the environment</strong></p>
  
  <p>I'm working with Amazon EC2 on an Amazon Linux AMI (ami-1624987f).
  But while developing, I've used Ubuntu and installed everything (Apache, PHP, MySQL) via <code>apt-get</code>.</p>
  
  <p>The installation was done by <code>yum install php php-devel php-mysql</code></p>
  
  <p>Now, when moving the application to EC2, seems like apt is not available on this AMI and I have to use yum. Seems like the <strong>yum</strong> installation is different from <strong>apt</strong> because I can't find the folder as described above.</p>
  
  <p><strong>Edit2: conclusion</strong></p>
  
  <p>There were more issues so at the end I've switched from Amazon Linux to Ubuntu where I also could use apt-get. But the answer from chanthemanless works. Thanks everyone!</p>