, , , ,

How to Install PHP 7 in CentOS 6

The CentOS 6 official software repositories has PHP 5.3 which has reached end of life and no longer actively maintained by the developers. To keep up with the latest features and security updates, you need a newer (probably the latest) version of PHP on your CentOS 6 system. For the purpose of this guide, we will be operating the system as root, if that is...
Continue reading How to Install PHP 7 in CentOS 6

Updated and tested (as of this post date) version of /etc/yum.repos.d/CentOS-Base.repo for Centos 5.11 (final):

# CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever...
Continue reading Updated and tested (as of this post date) version of /etc/yum.repos.d/CentOS-Base.repo for Centos 5.11 (final):
, ,

Create a (local) repository and use yum to have it resolve the dependencies for you

Summarized and further minimized (not ideal, but quickest): Create a directory for you local repository, e.g. /home/user/repo. Move the RPMs into that directory. Fix some ownership and filesystem permissions: # chown -R root.root /home/user/repo Install the createrepo package if not installed yet, and run # createrepo /home/user/repo # chmod -R o-w+r /home/user/repo Create a repository...
Continue reading Create a (local) repository and use yum to have it resolve the dependencies for you