With PHP 5.5 the mysql extension has been deprecated
This patch migrates mysql to mysqli
Merge pull request #31 from andig/php55mysqli

With PHP 5.5 the mysql extension has been deprecated