title: How to install PHP extensions on nginx?
body: <p>I recently discovered NginX, and decided to try it out on my server. I have NginX running and able to serve PHP and HTML files. But now I want to try to install drupal. When trying to install it and check the requirements, I am stopped by one requirement.</p>
  <blockquote>
  <p>PHP extensions    Disabled</p>
  <p>Drupal requires you to enable the PHP extensions in the following list (see the system requirements page for more information):</p>
  <p>gd</p>
  </blockquote>
  <p>I have tried to install gd by doing <code>apt-get install php5-gd</code>, and it says it is already installed. So I created a <code>phpinfo()</code> file, and checked to see if gd was enabled and I wasn't able to find it. Does this have to do with NginX or PHP? What do I do to fix this?</p>