version:
cat /etc/redhat-release
update:
yum update
update php:
yum update php php-cli php-gd php-pdo php-common php-xml php-mbstring php-mysql
check installed packages:
yum list installed *package*
- example:
yum list installed *httpd*