Simply update OLD_VERSION
and NEW_VERSION
then run (this example duplicates PHP 7.0 and its modules to PHP 7.1)
OLD_VERSION=70;NEW_VERSION=71;yum install $(rpm -qa --qf '%{NAME} ' ea-php${OLD_VERSION}*| sed "s/${OLD_VERSION}/${NEW_VERSION}/g")
Linux Guru
Simply update OLD_VERSION
and NEW_VERSION
then run (this example duplicates PHP 7.0 and its modules to PHP 7.1)
OLD_VERSION=70;NEW_VERSION=71;yum install $(rpm -qa --qf '%{NAME} ' ea-php${OLD_VERSION}*| sed "s/${OLD_VERSION}/${NEW_VERSION}/g")