LoginSignup
2
3

More than 3 years have passed since last update.

[raspberry pi] PHP7.1-fpmをapt-getでインストールする

Last updated at Posted at 2019-05-14

参考
http://www.neko.ne.jp/~freewing/raspberry_pi/raspberry_pi_php_7_2/

パッケージソースに下記の行を追加する

$sudo nano /etc/apt/sources.list

以下の行を末尾に追加

deb http://mirrordirector.raspbian.org/raspbian/ buster main contrib non-free rpi

変更を有効にする

$sudo apt update
$sudo apt upgrade

PHP関連モジュールを一括でインストール

$sudo apt install php7.1-fpm php7.1-mcrypt php7.1-curl php7.1-cli php7.1-mysql php7.1-gd php7.1-iconv php7.1-xsl php7.1-json php7.1-intl php-pear php-imagick php7.1-dev php7.1-common php7.1-mbstring php7.1-zip php7.1-soap -y

以上

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3