title: how do i install php 5.4 on Mac OS X Lion?
body: <p>I have downloaded php 5.4.0 from <a href="http://www.php.net" rel="noreferrer">php.net</a> and i want to upgrade it on mac os X lion.</p>
  
  <p>I also want to ask if anyone knows how to upgrade apache.</p>
  
  <p>Thanks in advance.</p>
  
  <hr>
  
  <p>hi i have installed it but i don't know how to configure it with httpd.conf</p>
  
  <pre><code> /usr/local/bin/php -v
  PHP 5.4.0 (cli) (built: Mar  3 2012 02:41:24) 
  Copyright (c) 1997-2012 The PHP Group
  Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
  </code></pre>
  
  <p>i tried to add this to httpd.conf</p>
  
  <p>as it said but the web server doesn't want to start</p>
  
  <pre><code>LoadModule php5_module libexec/libphp5.so
  </code></pre>