switched from php5-mysql driver to php5-mysqlnd driver.