I am trying to upgrade my Php from 5.1 to 5.2, using yum I get two dependency errors:
libldap-2.3.so.0 is needed by package php-ldap
liblber-2.3.so.0 is needed by package php-ldap

I currently have openldap 2.4 installed. So I did a link from:
libldap-2.4.so.2.2.0 to libldap-2.3.so.0
liblber-2.4.so.2.2.0 to liblber-2.3.so.0

Yet I still get the same error. What exactly could I have done?