fixed php connection issue