I set up PHP on macOS. PHP is a server scripting language for building dynamic and interactive web pages.
brew install php
php -v
php -S localhost:8000
https://localhost:8000
PHP Intelephense
Code Runner (optional)
I used Code Runner
https://localhost:8000/prog.php
phpinfo()
I used phpinfo() to check configuration settings
form.html
action.php
https://localhost:8000/action.php