nginx and PHP compatibility for OSX