title: Error in httpd.conf. Can't locate API module structure `php5_module'
body: <p>I've recently installed phc, the php compiler.  I started out installing LAMP from source with --enable-so for Apache and --enable-embed for PHP5 (among other options these are most relevant to the installation and later configuration).  </p>
  
  <p>When I finished installing I realized phc does not yet support PHP5.3 so I uninstalled it and installed PHP5.2.  phc works fine now, as does the PHP client application for the commandline.  Apache seems to be running fine, too, when I comment out line 193 (see below).  It just doesn't parse PHP.  </p>
  
  <pre><code>httpd: Syntax error on line 193 of /etc/apache2/conf/httpd.conf: Can't locate API module structure `php5_module' in file /usr/local/lib/libphp5.so: /usr/local/lib/libphp5.so: undefined symbol: php5_module
  </code></pre>
  
  <p>When I check my version of PHP from the terminal I get the expected output (5.2):</p>
  
  <pre><code>[root@localhost conf]# php -v
  PHP 5.2.14 (cli) (built: Sep  7 2010 22:50:25) 
  Copyright (c) 1997-2010 The PHP Group
  Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
  </code></pre>
  
  <p>I made sure to move the libphp5.so file from the folder where I built php5.2 (/usr/local/src/php-5.2.14) to /usr/local/lib.  I also moved php.ini to /usr/local/lib.  </p>
  
  <p>Is there something I'm missing here?  </p>