add ini_set to set mysql default socket, somehow php.ini settings dont do it
update for v2