title: php-cgi uses a different configuration than apache handler php
body: <p>I am using nginx with php-cgi and having some trouble getting imagettftext() to work.  I have just recompiled PHP with these options, however when using nginx and output phpinfo() I get that the build date was last month, and that <code>--with-gd</code> and <code>--with-freetype</code> aren't actually set in the configuration. </p>
  
  <p>I wasn't aware that php-cgi and php used different builds/configuration files, but, if so, how can I remedy this?  Is there a way to make it use the same build?</p>
  
  <p>I have tried editing php.ini but to no avail.</p>
  
  <p>Edit:</p>
  
  <p>The problem is the 'build commands'  given in the phpinfo() are completely different from each other.  Phpcgi shows 5.3.13 and with apache it shows 5.3.14..</p>