install nginx+mysql+php on mac use brew.