title: Apache 2.4 not loading php5.5 with Mac OS 10.8
body: <p>I am trying to use Apache 2.4.7 with php5.5 in my Mini Mac with Mac Os 10.8.5</p>
  
  <p>Apache 2.4.7 installed following instructions in <a href="http://mac-dev-env.patrickbougie.com/apache/">here</a></p>
  
  <p>Run apachectl -v, shows</p>
  
  <pre><code>Server version: Apache/2.4.7 (Unix)
  Server built:   Mar  4 2014 19:23:56
  </code></pre>
  
  <p>PHP5.5 installed following instructions in <a href="http://ziad.eljammal.com/install-php-5-5-on-mac-os-x/">here</a></p>
  
  <p>Run php -v, shows</p>
  
  <pre><code> PHP 5.5.8 (cli) (built: Jan 12 2014 18:50:29) 
  Copyright (c) 1997-2013 The PHP Group
  Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
  with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies
  with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
  </code></pre>
  
  <p>I added in the apache http.conf file the following line</p>
  
  <pre><code>LoadModule php5_module /usr/local/php5/libphp5.so
  </code></pre>
  
  <p>But it does not seem to work, as when I try to start the server with</p>
  
  <pre><code>sudo apachectl start
  </code></pre>
  
  <p>It produces the following error</p>
  
  <pre><code>httpd: Syntax error on line 151 of /usr/local/apache-2.4.7/conf/httpd.conf:
      Cannot load /usr/local/php5/libphp5.so into server: 
          dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found:
              unixd_config\n
  Referenced from: /usr/local/php5/libphp5.so
  Expected in: /usr/local/apache-2.4.7/bin/httpd in /usr/local/php5/libphp5.so
  </code></pre>
  
  <p>As suggested in the tutorials I have linked, I modified my bash profile with</p>
  
  <pre><code>export PATH=~/bin:/usr/local/php5/bin:$PATH
  export MANPATH=/usr/local/apache/man:$MANPATH
  </code></pre>
  
  <p>I have been trying for hours different solutions, and this is as far as I got.</p>
  
  <p>If someone can give me some hints I would be very happy, I am quite desperate...!</p>