はじめに
Ubuntu 19.10にPHP, PHP-FPMをインストール
LTS系まとめ:PHP, PHP-FPMの各種インストール方法とEOLまとめ
サポート
EoanErmine/ReleaseNotes - Ubuntu Wikiより、2020-07がEOLになる。
それ以降に報告された脆弱性や不具合への対応は実施されない可能性がある。
LOG
インストール
# cat /etc/os-release
NAME="Ubuntu"
VERSION="19.10 (Eoan Ermine)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 19.10"
VERSION_ID="19.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=eoan
UBUNTU_CODENAME=eoan
# apt update; apt install -y php-fpm
... 略
各種確認
# which php
/usr/bin/php
# php -v
PHP 7.3.8-1 (cli) (built: Aug 7 2019 09:50:45) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.8, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.8-1, Copyright (c) 1999-2018, by Zend Technologies
# which php-fpm7.3
/usr/sbin/php-fpm7.3
# php-fpm7.3 -v
PHP 7.3.8-1 (fpm-fcgi) (built: Aug 7 2019 09:50:45)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.8, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.8-1, Copyright (c) 1999-2018, by Zend Technologies
# apt show php
Package: php
Version: 2:7.3+69ubuntu2
Priority: optional
Section: php
Source: php-defaults (69ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian PHP Maintainers <team+pkg-php@tracker.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13.3 kB
Depends: php7.3
Supported: 9m
Download-Size: 2800 B
APT-Sources: http://archive.ubuntu.com/ubuntu eoan/main amd64 Packages
Description: server-side, HTML-embedded scripting language (default)
# apt show php-fpm
Package: php-fpm
Version: 2:7.3+69ubuntu2
Priority: optional
Section: universe/php
Source: php-defaults (69ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian PHP Maintainers <team+pkg-php@tracker.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13.3 kB
Depends: php7.3-fpm
Download-Size: 2884 B
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
Description: server-side, HTML-embedded scripting language (FPM-CGI binary) (default)