0
0

More than 3 years have passed since last update.

Debian 9にPHP-FPM 7.0をインストール(OS標準)

Posted at

はじめに

Debian9にPHP-FPM7.0を標準インストール
親記事:PHP, PHP-FPMの各種インストール方法とEOLまとめ

LOG

インストール

# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

# apt update -y;apt install -y php-fpm
... 略

各種確認

# which php
/usr/bin/php

# which php-fpm7.0
/usr/sbin/php-fpm7.0

# php-fpm7.0 -v
PHP 7.0.33-0+deb9u5 (fpm-fcgi) (built: Sep 18 2019 09:55:34)
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.33-0+deb9u5, Copyright (c) 1999-2017, by Zend Technologies

# apt show php-fpm
Package: php-fpm
Version: 1:7.0+49
Priority: optional
Section: php
Source: php-defaults (49)
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Installed-Size: 12.3 kB
Depends: php7.0-fpm
Download-Size: 5102 B
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian stretch/main amd64 Packages
Description: server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
0
0
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
0
0