Change DB Connection to phpHandler