Move phpenv rehashing to each version of PHP, and only run on changes, fixes #6