맥·IT·AI 실전 분석
2026년 12월 6일 (일)
테크 가이드

Ubuntu 16 서버에 PHP5.6 설치

스레드페이스북X




$ 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 설치여부 확인

이 글 공유하기

스레드페이스북X

테크 가이드의 다른 글

더 보기 →