title: PHP extensions won't load on Apache startup
body: <p>I've added php as a module for Apache 2.2.11:</p>
  
  <pre><code>LoadModule php5_module "c:/php/php5apache2_2.dll"
  </code></pre>
  
  <p>And also added </p>
  
  <pre><code>AddType application/x-httpd-php .php
  </code></pre>
  
  <p>And in PHP.ini, my extension dir is set to: <code>extension_dir = "C:\php\ext"</code></p>
  
  <p>And <strong>yes</strong>, the directories are correct and all files do exist.</p>
  
  <p>But when I start apache, I get these errors:</p>
  
  <blockquote>
    <p>PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0<br />
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php\ext\php_pdo_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0 <br />
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php\ext\php_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0<br /><br />
    [Sun May 17 03:46:01 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations<br />
    [Sun May 17 03:46:01 2009] [notice] Server built: Dec 10 2008 00:10:06<br />
    [Sun May 17 03:46:01 2009] [notice] Parent: Created child process 4652<br /><br />
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0<br />
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php\ext\php_pdo_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0 <br />
    PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php\ext\php_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0<br /><br />
    [Sun May 17 03:46:01 2009] [notice] Child 4652: Child process is running<br />
    [Sun May 17 03:46:01 2009] [notice] Child 4652: Acquired the start mutex.<br />
    [Sun May 17 03:46:01 2009] [notice] Child 4652: Starting 64 worker threads.<br />
    [Sun May 17 03:46:01 2009] [notice] Child 4652: Starting thread to listen on port 80.<br /></p>
  </blockquote>
  
  <p>So I'm probably forgetting something simple here, can someone tell me what I'm forgetting?</p>