mac brew nginx php php-fpm xdebug
534 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
535 /usr/local/bin/brew update --force
536
537 rm -rf /Users/chong/Library/Caches/Homebrew/portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz
538 /usr/local/bin/brew update --force
539 brew update
540 brew search php
541 php -version
542 brew search php56
543 brew install homebrew/php/php56
544 /usr/local/bin/php -version
545 /usr/local/bin/php -version
546 php -version
547 /usr/local/bin/php -version
548 brew search nginx
549 brew search nginx
550 brew install nginx
551 brew services restart nginx
552 nginx -t
553 brew services restart nginx
554 cat /private/etc/hosts
555 vim /private/etc/hosts
556 sudo vim /private/etc/hosts
557 source /private/etc/hosts
558 nginx -t
559 brew services restart nginx
560 /usr/local/sbin/php-fpm restart
561 ps -ef | grep php-fpm
562 /usr/local/sbin/php-fpm --help
563 /usr/local/sbin/php-fpm
564 sudo /usr/local/sbin/php-fpm
565 c
566 sudo /usr/local/sbin/php-fpm --fpm-config /usr/local/etc/php/5.6/php-fpm.conf --prefix /usr/local/var
567 sudo /usr/local/sbin/php-fpm --fpm-config /usr/local/etc/php/5.6/php-fpm.conf --prefix /usr/local/var
568 history
bogon:local chong$
506 ps -ef | grep php-fpm
507 /usr/local/sbin/php-fpm stop
508 kill -9 44193
509 kill -9 44194
510 sudo kill -9 44193
511 ps -ef | grep php-fpm
512 sudo kill -9 44194
513 sudo kill -9 44195
514 sudo kill -9 44195
515 sudo kill -9 44196
516 ps -ef | grep php-fpm
517 brew services restart nginx
518 brew services restart nginx
519 brew search xdebug
520 brew install homebrew/php/php56-xdebug
521 ps -ef |grep php-fpm
522 kill -9 45171
523 sudo kill -9 45171
524 sudo kill -9 45172
525 sudo kill -9 45173
526 sudo kill -9 45174
527 ps -ef |grep php-fpm
528 history | grep brew
529 ps -ef |grep php-fpm
530 sudo kill -9 47094
531 sudo kill -9 47097
532 sudo kill -9 47098
533 sudo kill -9 47099
534 ps -ef |grep php-fpm
535 history
bogon:~ chong$
mac brew nginx php php-fpm xdebug