Hello,
List all domains with php2_release set as primary:
Code:
for d in `cat /etc/virtual/domainowners | cut -d: -f1 | sort`; do grep -q ^php1_select=2 /usr/local/directadmin/data/users/*/domains/$d.conf 2>/dev/null && echo $d; done;
List all domains with php1_release set as primary:
Code:
for d in `cat /etc/virtual/domainowners | cut -d: -f1 | sort`; do grep -q ^php1_select=2 /usr/local/directadmin/data/users/*/domains/$d.conf 2>/dev/null || echo $d; done;
DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال میکنید
برچسب: نویسنده: ایمان اصلاحی بازدید: 304 تاريخ: پنجشنبه 22 تير 1396 ساعت: 0:11