It seems that "php" and "php-mysql" must to be install before executing db-sync. I recommend that installation instruction is written on the README.