Start Apache+PHP+Mysql for MacOSX

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

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 실행 구동

Fix msyql.sock location in 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(아파치 재실행)
6 insane ways people made money off famous crimesRoute the part of the cheap football jerseys harness consisting of a single green wire to the passenger side rear light cluster; this is usually best done up and over the Wholesale China Jerseys cargo bay to reduce any risk of abrasion or trip hazard. On both sides, press the new terminal “T” connectors onto the rear of cheap jerseys wholesale the lamp cluster, then press the preexisting terminal multi block onto the new “T” connector. TJX has been raising dividends every year for over 17 years and has a ten year annualized dividend growth rate of 23.34%. Another rocket ship dividend booster. He’s already drawing coverage from the opposition’s No. 1 corner (on Sunday it wasJoe cheap nfl jerseys Haden of the Cleveland Browns) and looking like a Pro NFL Jerseys Cheap Bowl talent. The backcourt will still be in excellent shape. As much attention as Tyler Ennis garnered at Syracuse, London Perrantes was also tremendously efficient throughout his freshman year, finishing with a better than 3 to 1 assist to turnover ratio. Make your area scouts, schools and teams aware that you wish to be a candidate for the next cheap football jerseys position that becomes available. Working as an associate scout seldom results in an employer/employee relationship. Adjusted revenue from business customers declined by 1.8%, but strategic revenues from AT next generation business communications solutions (VPNs, Ethernet, Cloud, hosting, IP conferencing, VoIP, MIS over Ethernet, U Verse and security services). AT Wireline’s business segment income declined by 10.7% due to higher operating expenses, combined with declines in wireline revenues. Then we’ll go through to noon, at which time Bruce will wrap things up, and then Cheap Jerseys we’ll launch into a Q session. So I’d like to ask everybody to hold onto their questions until that time, and we’ll leave plenty of time for your questions at the end of the session. But luck was against Fulham, Jelavic’s goal following a freak deflection as Sascha Riether attempted to cut out Sone Aluko’s through ball. David Stockdale pushed it onto the bar, but when it came down Jelavic headed in.. This initial success bodes well for the three other upcoming serialized programs on Netflix. Marvel’s Jessica Jones, Iron Fist and Luke Cage, as well as the planned miniseries event uniting all these characters into a shared story line. I have met with hundreds of patients, dozens of scientists and the curious majority who simply want a deeper understanding of this ancient plant. I have sat in labs and personally analyzed the molecules in marijuana that have such potential but are also a source of intense controversy.

Published by

안반장

Web과 App 개발을 하고 있으며 최근 워드프레스에 관심이 많아져 네이버 카페 워드프레스 홈페이지의 TF팀으로 활동 중 입니다.개인적으로는 안반장의 개발 노트라는 블로그를 운영하면서 개발의 즐거움과 고충들을 차곡차곡 담아가고 있습니다.