I didn't have mhash installed. There's apparently a problem with the substitute functions (calls to openssl?) but it's all working great now.