Child pages
  • RHEL/CentOS 와 Amazon Linux 에 php 7 설치

Versions Compared

Key

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

...

  1. php package 설치하며 속도향상을 위해 OpCode cache 도 포함합니다.

    Code Block
    yum install php72w-bcmath php72w-cli php72w-common php72w-gd php72w-mbstring  php72w-mysqlnd php72w-pdo php72w-fpm php72w-opcache php72w-xml php72w-zip 
    Expand
    title예전 버전 설치 Click here to expand...
    Code Block
    languagebash
    titlePHP 7.1
    yum install php71w-bcmath php71w-cli php71w-common php71w-gd php71w-mbstring  php71w-mysqlnd php71w-pdo php71w-fpm php71w-opcache php71w-xml php71w-zip 
    Code Block
    languagebash
    titlePHP 7.0
    yum install php70w-cli php70w-common php70w-gd php70w-mbstring  php70w-mysqlnd php70w-pdo php70w-fpm php70w-xml
    Code Block
    languagebash
    titlePHP 5.6
    yum install php56w-cli php56w-common php56w-gdphp56w-mbstring php56w-mcrypt php56w-mysqlnd  php56w-pdo php56w-fpm php56w-xml
    Note

    Laravel framework 을 사용한다면 opensslmcrypt 패키지를 꼭 설치해야 합니다.

  2.  웹서버 재구동

    Code Block
    service nginx restart
    Code Block
    systemctl restart nginx 

...