How about installing php5-mysql before fpm eh?