PHP

Setup

PHP

PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.

PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

brew install php

php -v

php -S localhost:8000

https://localhost:8000

PHP Intelephense

Code Runner (optional)

using Code Runner

php -S localhost:8000

https://localhost:8000/prog.php

phpinfo()

phpinfo() is used to check configuration settings

form.html

action.php

https://localhost:8000/action.php