diff --git a/testing/php7-libvirt-php/APKBUILD b/testing/php7-libvirt-php/APKBUILD
index bbfefd7a75a7ad3f147190af9015f85e11a341ac..e6525d8f3b956c734ae57b6f2004cf325e99a528 100644
--- a/testing/php7-libvirt-php/APKBUILD
+++ b/testing/php7-libvirt-php/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.5.4
 pkgrel=0
 pkgdesc="PHP language bindings for Libvirt API. For more details see: http://www.libvirt.org/php/"
 url="https://libvirt.org/php/"
-arch="all"
+arch="all !x86 !armhf !armv7" # missing deps on armv7, segfault on x86, armhf
 license="LGPL-2.1"
 makedepends="autoconf libvirt-dev libxml2-dev libxml2-utils libxslt php7-dev php7-pecl-imagick libtool linux-headers"
 subpackages="$pkgname-doc"