I am trying to install php 5.2.17 on a CentoOS machine. Having problems as I have only used yum in the past. I have the file downloaded and unpacked...not clear on how I need to ./configure before using the make and make install?

UPDATE: I am getting this message when installing php 5.2.17 from a fresh cloud instance:

]# rpm -ivh php-5.2.17-1.x86_64.rpm error: Failed dependencies: libaspell.so.15()(64bit) is needed by php-5.2.17-1.x86_64 libcrypto.so.6()(64bit) is needed by php-5.2.17-1.x86_64 libcurl.so.3()(64bit) is needed by php-5.2.17-1.x86_64 libpspell.so.15()(64bit) is needed by php-5.2.17-1.x86_64 libssl.so.6()(64bit) is needed by php-5.2.17-1.x86_64 php-cli = 5.2.17-1 is needed by php-5.2.17-1.x86_64

I ended up installing php 5.3 on this instance which of addressed some of the above. However now I am wrestling with php-cli and php-common which are failing.

Any ideas?

link|improve this question
Why would you want to install anything that is older than PHP 5.3? I mean: 5.4 is „near“ – TimWolla Feb 8 at 19:51
I understand fully...Have taken on a new site that is running an older version and have no choice at this point. Migrating later...have to deal with some things first. I know..it sucks. – user1114330 Feb 8 at 19:56
Sorry about that..I did actually spend a good bit of time trying before posting here. Thank you for the link though...however it fails on the second step with this message: – user1114330 Feb 8 at 20:17
]# rpm -ivh php-5.2.17-1.x86_64.rpm error: Failed dependencies: libaspell.so.15()(64bit) is needed by php-5.2.17-1.x86_64 libcrypto.so.6()(64bit) is needed by php-5.2.17-1.x86_64 libcurl.so.3()(64bit) is needed by php-5.2.17-1.x86_64 libpspell.so.15()(64bit) is needed by php-5.2.17-1.x86_64 libssl.so.6()(64bit) is needed by php-5.2.17-1.x86_64 php-cli = 5.2.17-1 is needed by php-5.2.17-1.x86_64 – user1114330 Feb 8 at 20:18
you should put that in your question and not as a comment. – afuzzyllama Feb 8 at 20:53
show 2 more comments
feedback

migrated from stackoverflow.com Feb 8 at 23:51

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.