Child pages
  • php fpm 설치 및 설정

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. WebTatic 저장소 설치(RHEL/CentOS 5,6,7 에 EPEL 과 Remi/WebTatic Repository 설치하기 참고)

    Code Block
    titleCentOS 6
    # rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
    Code Block
    titleCentOS 7
    # rpm -Uvh http://mirror.premi.st/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
    # rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
  2. yum 으로 패키지 설치

    Code Block
    yum install php56w-cli php56w-fpm php56w-mbstring php56w-mcrypt php56w-mysql php56w-opcache php56w-pdo php56w-pear php56w-xml 
  3. 부팅시 php-fpm service 활성화

    Code Block
    titleCentOS 7
    # systemctl enable php-fpm.service
    Code Block
    titleCentOS 6
    # chkconfig --add php-fpm on
  4. php-fpm 구동

    Code Block
    titleCentOS 7
    # systemctl start php-fpm.service
    Code Block
    titleCentos 6
    # service start php-fpm

...