はじめに
Debian12にPHP-FPMを標準インストール
親記事:PHP, PHP-FPMの各種インストール方法とEOLまとめ
LOG
インストール
# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
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-fpm8.2
/usr/sbin/php-fpm8.2
# php-fpm8.2 -v
PHP 8.2.7 (fpm-fcgi) (built: Jun 9 2023 19:37:27)
Copyright (c) The PHP Group
Zend Engine v4.2.7, Copyright (c) Zend Technologies
with Zend OPcache v8.2.7, Copyright (c), by Zend Technologies
# apt show php-fpm
Package: php-fpm
Version: 2:8.2+93
Priority: optional
Section: php
Source: php-defaults (93)
Maintainer: Debian PHP Maintainers <team+pkg-php@tracker.debian.org>
Installed-Size: 10.2 kB
Depends: php8.2-fpm
Download-Size: 3712 B
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian bookworm/main amd64 Packages
Description: server-side, HTML-embedded scripting language (FPM-CGI binary) (default)