
for VER in 70 71 72 73 74 80 81 82 83 84 85 ; do
  /usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/php$VER/tmp
  /usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/php$VER/opcache
  /usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/php$VER/wsdlcache
  /usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/php$VER/opcache
done

# default php 
/usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/php/tmp
/usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/php/opcache
/usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/php/wsdlcache
/usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/php/opcache

