With PHP 5.5 the mysql extension has been deprecated
This patch migrates mysql to mysqli
Merge branch 'php55mysqli'
Merge branch 'php55mysqli'