Ubuntu 16 서버에 PHP5.6 설치


Ubuntu 16 서버에 PHP5.6 설치




최초 작성일 : 2021-06-09 | 수정일 : 2021-06-09 | 조회수 : 1279




$ sudo apt-get install software-properties-common python-software-properties

$ sudo add-apt-repository -y ppa:ondrej/php


$ sudo add-apt-repository ppa:ondrej/php

$ sudo apt-get update

$ sudo apt-get install php5.6

$ sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml

 $ sudo php -v

    

$ sudo apt-get install php5.6-curl                              // cURL 설치하기

$ dpkg --get-selections | grep php | grep curl          // cURL 설치여부 확인

Tags  #PHP  

닉네임:
댓글내용: