connect with phpstat