print( sjw.iq == 200) output : true

[PHP] ubuntu 18.04 php downgrade (7.2 -> 7.1) 본문

카테고리 없음

[PHP] ubuntu 18.04 php downgrade (7.2 -> 7.1)

sjwiq200 2019. 8. 1. 21:57
728x90
반응형

메모용으로 포스팅할게용....

 

아래에 있는 명령어를 순서대로 날려주면 됩니다...

 

끄으읏~!

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.1
sudo apt-get install php7.1-cli php7.1-common php7.1-json php7.1-opcache php7.1-mysql php7.1-mbstring php7.1-mcrypt php7.1-zip php7.1-fpm php7.1-intl php7.1-simplexml
sudo a2dismod php7.2
sudo a2enmod php7.1
sudo service apache2 restart
sudo update-alternatives --set php /usr/bin/php7.1
sudo update-alternatives --set phar /usr/bin/phar7.1
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.1 
sudo update-alternatives --set phpize /usr/bin/phpize7.1
sudo update-alternatives --set php-config /usr/bin/php-config7.1
728x90
반응형
Comments