Amazon Linux 2023 へ PHP8.2 をインストールする
PHPインストール
sudo dnf install -y php php-mysqli php-fpm php-json php-devel php-gd
$ php -v
PHP 8.2.9 (cli) (built: Aug 3 2023 11:39:08) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.2.9, Copyright (c) Zend Technologies
with Zend OPcache v8.2.9, Copyright (c), by Zend Technologies