Install php5-mysql package and restart php-fastcgi.