Linux Mint is primarily a desktop distribution so Apache, PHP and MySQL/MariaDB are not installed by default, but are available in repositories so you can install them. You can install tasksel first to help you with that:
`sudo apt-get install tasksel`, run `sudo tasksel` and install `LAMP server`.
or install everything manually with apt:
`sudo apt-get install apache2 php mariadb-server`
Different versions of PHP can be found in this PPA repository.