Install PHP 5.4 in Mac

http://www.handcraftedsoftware.net/articles/installing-nginx-php-fpm-and-apc-on-mac-os-x
https://rtcamp.com/tutorials/mac/osx-brew-php-mysql-nginx/