I am trying to install PHP 5.2.17 on a CentOS 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?