I have come across an issue wherein for an internal apache / php website hosted on OpenSuse 12.1 I need to update the curl version to at least 7.34.0 to get access to TLS 1.2. Due to legacy code that has yet to be updated, I cannot simply upgrade the php version, I have to upgrade the version of libcurl4 without touching the php version. As far as I can tell, so long as I update libcurl4 to at least 7.34.0 I won’t need to touch php5-curl as I believe that is simply for communication with libcurl4. Correct me if I am wrong though.
My main question is where can I find / how can I compile a version of libcurl4 that is at least 7.34.0 if not the latest version for use with OpenSuse 12.1. (Currently I am running php 5.3.8 and libcurl 7.22.0).
As openSUSE 12.1 is out of support since 15th May 2013 I doubt you will find any recent software build for it. Nor do I think that many people will still have a running 12.1 and thus be able to give you much inside information about it.
Freezing a system to a certain version status because it is running perfectly and no changes are to be made might look as a nice concept for stability until the day comes that, contrary to the plan, a change must be made.
I hope your Apache server is not accessable from the Internet, because you are now more then 4 years behind with security patches.