update debian/install_php_memcache.sh: add build checks