title: Installing PHP 5.4 on RHEL5, getting caught in dependency rabbit-hole
body: <p>I tried using webstatic, epel and remi repo's and all fail with the following error: </p>
  
  <pre><code>Missing Dependency: openldap &gt;= 2.3.43-25.el5_8.1 is 
  needed by package libcurl-7.27.0-10.el5.remi.x86_64 (remi-test)
  </code></pre>
  
  <p>Fine, OK, openldap version on my system is: </p>
  
  <pre><code>sudo yum list package openldap
  Installed Packages
  openldap.i386            2.3.43-3.el5         installed    
  openldap.x86_64          2.3.43-3.el5         installed
  </code></pre>
  
  <p>(What's sad is i'm only off by a patch release -3 to -25! grr!) </p>
  
  <p>Let's install OPENLDAP 2.4 from rpm since it's not available on any of the repo's: </p>
  
  <pre><code>wget http://someurl/downloads/openldap-2.4.24.tgz
  tar -zxf openldap-2.4.24.tgz
  cd openldap-2.4.24
  ./configure
  </code></pre>
  
  <p>Get this error: </p>
  
  <pre><code>checking if Berkeley DB version supported by BDB/HDB backends... no
  configure: error: BerkeleyDB version incompatible with BDB/HDB backends
  </code></pre>
  
  <p>I just want to upgrade PHP 5.1 to 5.4 on RedHat Linux 5 86_x64. It doesn't have to be this freakin' complicated! Anybody have any ideas? </p>
  
  <p>Compiling php from source is a dependency nightmare! but I attempted it anyway: </p>
  
  <pre><code>sudo rpm -ivh php54-5.4.16-1.ius.el5.src.rpm
  Password:
  warning: php54-5.4.16-1.ius.el5.src.rpm: Header V4 DSA signature: NOKEY, key ID 9cd4953f
     1:php54                  warning: user mockbuild does not exist - using root
  warning: group mockbuild does not exist - using root x8
  warning: user mockbuild does not exist - using root x8
  ########################################### [100%]
  warning: user mockbuild does not exist - using root
  warning: group mockbuild does not exist - using root
  ...repeated 8 more times. 
  </code></pre>
  
  <p>i apparantly finished 100% but there's no sign of it under <code>sudo rpm -qa | grep *php*</code> returns zero results. (FYI: I have already 'yum removed' php 5.1 already)</p>
  
  <p>Thanks for any help </p>