configured php, sockets, error logs and nginx