Ubuntu 14.04にPHP-FPM 5.4をインストール（OS標準）

# はじめに

Ubuntu14.04にPHP-FPM5.4を標準インストール
親記事：[PHP, PHP-FPMの各種インストール方法とEOLまとめ](https://qiita.com/witchcraze/items/dfe3823554b7caba6f6a)

## LOG

### インストール

```shell-session
# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.6 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.6 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

# apt update;apt install -y php5-fpm
... 略
```

### 各種確認

```shell-session
# which php5

# which php5-fpm
/usr/sbin/php5-fpm

# php5-fpm -v
PHP 5.5.9-1ubuntu4.29 (fpm-fcgi) (built: Apr 22 2019 18:36:16)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

# apt show php5-fpm
Package: php5-fpm
Version: 5.5.9+dfsg-1ubuntu4.29
Priority: optional
Section: universe/php
Source: php5
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9313 kB
Pre-Depends: dpkg (>= 1.15.7.2~)
Depends: libbz2-1.0, libc6 (>= 2.15), libdb5.3, libpcre3, libssl1.0.0 (>= 1.0.0), libsystemd-daemon0 (>= 31), libxml2 (>= 2.9.0), zlib1g (>= 1:1.1.4), sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16), mime-support, php5-common (= 5.5.9+dfsg-1ubuntu4.29), libmagic1, ucf, tzdata
Suggests: php-pear
Download-Size: 2181 kB
Homepage: http://www.php.net/
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
Description: server-side, HTML-embedded scripting language (FPM-CGI binary)

N: There is 1 additional record. Please use the '-a' switch to see it


# apt show php5-fpm -a
Package: php5-fpm
Version: 5.5.9+dfsg-1ubuntu4.29
Priority: optional
Section: universe/php
Source: php5
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9313 kB
Pre-Depends: dpkg (>= 1.15.7.2~)
Depends: libbz2-1.0, libc6 (>= 2.15), libdb5.3, libpcre3, libssl1.0.0 (>= 1.0.0), libsystemd-daemon0 (>= 31), libxml2 (>= 2.9.0), zlib1g (>= 1:1.1.4), sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16), mime-support, php5-common (= 5.5.9+dfsg-1ubuntu4.29), libmagic1, ucf, tzdata
Suggests: php-pear
Download-Size: 2181 kB
Homepage: http://www.php.net/
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
Description: server-side, HTML-embedded scripting language (FPM-CGI binary)

Package: php5-fpm
Priority: optional
Section: universe/php
Installed-Size: 9243 kB
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Source: php5
Version: 5.5.9+dfsg-1ubuntu4
Depends: libbz2-1.0, libc6 (>= 2.15), libdb5.3, libpcre3, libssl1.0.0 (>= 1.0.0), libsystemd-daemon0 (>= 31), libxml2 (>= 2.9.0), zlib1g (>= 1:1.1.4), sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16), mime-support, php5-common (= 5.5.9+dfsg-1ubuntu4), libmagic1, ucf, tzdata
Pre-Depends: dpkg (>= 1.15.7.2~)
Suggests: php-pear
Download-Size: 2190 kB
Homepage: http://www.php.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
APT-Sources: http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
Description: server-side, HTML-embedded scripting language (FPM-CGI binary)
```