Selectorctl find user PHP version:
for user in $(\ls -A /var/cpanel/users) ; do version=$(selectorctl -c -u $user | awk '{print $1}') ; echo $user $version ; done
Selectorctl find user PHP version:
for user in $(\ls -A /var/cpanel/users) ; do version=$(selectorctl -c -u $user | awk '{print $1}') ; echo $user $version ; done
for i in $(cut -d: -f1 /etc/userdatadomains );do whmapi1 php_set_vhost_versions version=inherit vhost-0=$i;done
–> Running transaction check
—> Package kernel.x86_64 0:2.6.32-673.8.1.lve1.4.3.el6 will be erased
–> Processing Dependency: kernel-uname-r = 2.6.32-673.8.1.lve1.4.3.el6.x86_64 for package: kmod-e1000e-2.6.32-673.8.1.lve1.4.3.el6.x86_64-3.3.3-2.el6.x86_64
–> Processing Dependency: kernel-uname-r = 2.6.32-673.8.1.lve1.4.3.el6.x86_64 for package: kmod-lve-2.6.32-673.8.1.lve1.4.3.el6.x86_64-1.4-3.1.el6.x86_64
–> Processing Dependency: kernel-uname-r = 2.6.32-673.8.1.lve1.4.3.el6.x86_64 for package: kmod-ixgbe-2.6.32-673.8.1.lve1.4.3.el6.x86_64-4.3.13-7.el6.x86_64
—> Package kernel-devel.x86_64 0:2.6.32-673.8.1.lve1.4.3.el6 will be erased
—> Package lvemanager.noarch 0:1.0-9.26.el6.cloudlinux will be updated
—> Package lvemanager.noarch 0:1.0-9.26.el6.cloudlinux will be updated
–> Running transaction check
—> Package kmod-e1000e-2.6.32-673.8.1.lve1.4.3.el6.x86_64.x86_64 0:3.3.3-2.el6 will be erased
—> Package kmod-ixgbe-2.6.32-673.8.1.lve1.4.3.el6.x86_64.x86_64 0:4.3.13-7.el6 will be erased
—> Package kmod-lve-2.6.32-673.8.1.lve1.4.3.el6.x86_64.x86_64 0:1.4-3.1.el6 will be erased
–> Processing Conflict: lvemanager-1.0-9.37.el6.cloudlinux.noarch conflicts lve-stats = 2.1-8.el6
–> Finished Dependency Resolution
Error: lvemanager conflicts with lve-stats-2.1-8.el6.noarch
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
Solution:
yum update lve-stats –enablerepo=cloudlinux-updates-testing
yum update
/usr/sbin/clnreg_ks --force
cldetect --update-license
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
vi /etc/cagefs/conf.d/composer.cfg
[composer]
comment=Composer
paths=/usr/local/bin/composer
cagefsctl --force-update