PHP - FPM - Nginx - PHP ファイルの提供

PHP - FPM - Nginx - PHP ファイルの提供

macOS Catalina 10.15.3 システムに PHP をローカルにインストールしています。

php -i
phpinfo()
PHP Version => 7.3.11

静的ファイルを提供する Nginx が稼働しています:
ここに画像の説明を入力してください
NginxとPHPでスクリプトファイルを提供する最も簡単な方法は何ですか? 世の中にはたくさんの記事がありますが、どれも何らかの形で異なっており、すべてが私のニーズに適しているわけではありません。私は以下を見てきました。https://www.php.net/manual/en/install.fpm.install.phpしかし、Web サーバーに使用しているものが見つかりませんかphp.ini? まだ PHP ファイルを提供できないため、ルートにファイルを配置して使用することはできません。phpinfo()

php -i | grep "Configuration File"
Configuration File (php.ini) Path => /etc
Loaded Configuration File => (none)

ローカルセットアップの詳細情報。

server {
        listen       8080;
        server_name  localhost;

        #charset koi8-r;

        access_log  logs/host.access.log  main;

        location / {
            root   html;
            index  index.html index.htm index.php;
        }

インストールしPHP-FPMてすぐに楽しいゲーム(オンライン参照)が始まります。

$ brew tap homebrew/dupes
$ brew tap homebrew/php
$ brew install --without-apache --with-fpm php71
Error: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
Error: homebrew/php was deprecated. This tap is now empty as all its formulae were migrated.
Error: invalid option: --without-apache

何かヒントを提供したり、正しい方向へ導いてくれたら嬉しいです。

関連情報