If you want to setup PHP, you need to install AMP (Apache, MySQL/MariaDB, Perl/PHP/Python)) solution stacks. It is available for all operating systems. Below the list of AMP options are available:
- LAMPs (for Linux)
- WAMPs (for Windows)
- MAMPs (for macOS)
- SAMPs (for Solaris)
- FAMPs (for FreeBSD)