XDebug environment setting from PHPSTORM for Mac (Part 1)

PHPSTORM에서 XDebug 환경(Mac)설정하기SETP 1

XDebug를 이용하기 위해서는 Apache,PHP,Mysql이 구축되어 있어야합니다.
될수 있으면 따라하기 쉽게 작성했습니다.
천천히 해보~아~~요.

Apache

아파치 실행하기(시스템환경설정>공유>웹공유 체크 or 체크아웃)

sudo apachectl start(터미널 실행)
http://localhost (확인) or http://127.0.0.1 or http://사설IP

PHP

sudo vi /etc/apache2/httpd.conf

주석제거(#)

  • php5_module(ctrl+F로 이동해서 찾으세요)
  • LoadModule php5_module libexec/apache2/libphp5.so
  • 아파치데몬 재실행(시스템환경설정>공유>웹공유)
  • sudo apachectl restart(터미널상태에서)

/etc/php.ini 생성

  • cd /etc
  • sudo cp php.ini.default php.ini
  • sudo chmod 666 php.ini

타임존 설정

  • sudo vi php.ini
  • date.timezone = Asia/Seoul
  • sudo apachectl restart(아파치 재실행)

MySQL 설치(Mac OS X에는 mysql이 설치되어 있지않습니다)

Mac OS X mysql-5.5.10-osx10.6-x86.dmg download

  • mysql-5.5.10-osx10.6-x86.pkg 실행
  • MySQL PrefPane은 시스템 환경설정에 등록(아이콘에서 오른쪽버튼 클릭>다음으로열기>시스템환경설정)
  • 시스템환경설정에 mysql 실행 구동

msyql.sock  변경 (php.ini)

/etc/php.ini 열고 /var/mysql/mysql.sock 을 /tmp/mysql.sock 으로 변경

  • sudo vi php.ini
  • pdo_mysql.default_socket=/tmp/mysql.sock
  • mysql.default_socket = /tmp/mysql.sock
  • mysqli.default_socket = /tmp/mysql.sock
  • sudo apachectl restart(아파치 재실행)
Rather than seek treatment for his fucked up ears, Cain stuffed them with bandages and continued hunting for three damn days. This guy really fucking hated tanks.. Subscribe to USA TODAYAlready a print edition subscriber, but don’t have a login?Activate your digital access.Manage your account settings.My AccountLog OutEDEN PRAIRIE, Minn. Rookie minicamp in Minnesota next weekend will have a German accent.Willkommen to the NFL, Moritz Boehringer.The Vikings made the 22 year old German wide receiver the first player in league history to be drafted straight from Europe, taking the speedy Boehringer in the sixth round Saturday with the 180th overall selection.”We spend a lot of time trying to look under every rock,” general manager Rick Spielman said, adding: “When we get a hint that someone might have the ability to play in this league, that’s our job to go out and uncover it.”USA TODAY2016 NFL draft team grades: Jaguars roar, Eagles whiffThe 6 cheap nfl jerseys foot 4, 229 fake oakleys pound Boehringer put on a head turning performance in March at Florida Atlantic’s pro workout day, running the 40 yard dash in 4.43 seconds. And I spent the evening looking, you know, researching into archives in terms oakley sunglasses of Andre’s history of concussions, and discovered that he had one of the most severe concussion histories of any NFL player I’ve ever come across. You know, he admitted to stopping counting his concussions at 15, cheap mlb jerseys so very severe stuff.. You want to go nice and easy back and forth and that’s how you replace the fishing line. I’m Mark the Shark. It has hired the lawyer who guided the National Hockey League through its lockout in 1994. And NFL teams are inserting clauses in coaching contracts that call for reduced salaries or even furloughs in the event of a lockout in 2011.. With tattoos all the way up his arms and an explosive cheap jerseys running game, the 49ers rookie has had a standout season since taking over from regular starter Alex Smith in week 11. He led the side into the playoffs before orchestrating victories over the Packers and Falcons to reach today’s big game. They started out with one belt and evolved to two belts to cover more area. In the early 1900s they were used quite a bit. His section of the street stood empty wholesale football jerseys china and was eventually taken over by a kindly Jamaican man who played the drums. I later found out that someone dumped all cheap nfl jerseys of the asshole performer’s equipment off a pier and beat the left side of his face most of the way in. ParaguayMartes 14 de junio:Chile vs. Panam(Crdito: Tim Bradbury/Getty Images)Eventos:Algunos de los eventos ms importantes que ha recibido este estadio son: En 2004 se llev a cabo el Super Bowl XXXVIII y ser la sede del Super Bowl LI del prximo ao. Our first choice is also in the center of town, close by Charleston’s best shopping and attractions. The staff is gracious and upbeat, they have a lively interest in your needs.