답변:
( 업데이트 )이 (우분투)를보십시오 :
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get update
sudo apt-get install php5.6-fpm -y
(업데이트) 데비안 Wheezy (sudo 포함)
echo "deb http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list
echo "deb-src http://packages.dotdeb.org wheezy-php56 all" >> /etc/apt/sources.list.d/dotdeb.list
wget http://www.dotdeb.org/dotdeb.gpg -O- | apt-key add -
apt-get update
apt-get install php5-cli php5-fpm ….. (or whatever package you might need)
(2017/06/21 업데이트) 데비안 8 (jessie)
sudo nano /etc/apt/sources.list
다음 저장소를 추가하십시오.
...
deb http://mirrors.digitalocean.com/debian jessie main contrib non-free
deb-src http://mirrors.digitalocean.com/debian jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
# jessie-updates, previously known as 'volatile'
deb http://mirrors.digitalocean.com/debian jessie-updates main contrib non-free
deb-src http://mirrors.digitalocean.com/debian jessie-updates main contrib non-free
그런 다음 소스를 업데이트하십시오.
sudo apt-get update
그런 다음 php5-fpm을 설치하십시오
sudo apt-get install php5-fpm
Debian 8
왜 작동하지 않습니까?
sudo nano /etc/apt/sources.list
더하다
deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all
deb http://packages.dotdeb.org wheezy-php56-zts all
deb-src http://packages.dotdeb.org wheezy-php56-zts all
저장하고 실행
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php5
자세한 정보는 여기 https://www.dotdeb.org/instructions/
php5 is already the newest version.
gpg --keyserver keys.gnupg.net --recv-key 89DF5277
gpg -a --export 89DF5277 | sudo apt-key add -
감사 : dotdeb.org/2010/07/11/dotdeb-packages-are-now-signed