In this tutorial, user  shows us how to get the FAMP stack set up on FreeBSD. FAMP stands for FreeBSD, Apache HTTP server, MariaDB, and PHP. Follow the link below for the full set of instructions.

This guide will describe how to install and configure FBAMP in FreeBSD operating system, which is similar to a LAMP stack on Linux. FBAMP is an acronym which stands for a collection of software based on FreeBSD OS, Apache HTTP server, the most popular open-source web server in internet, MariaDB relational database management system (RDBMS), a fork of MySQL database engine, and PHP server-side.

Requirements

  1. A fresh installation of FreeBSD
  2. FreeBSD Initial Configurations
  3. Direct console access or SSH in case of a remote connection to FreeBSD.
  4. A static IP Address configured on a Network Interface.

Step 1: Install Apache on FreeBSD …

Full instructions: https://www.tecmint.com/install-apache-mariadb-and-php-famp-stack-on-freebsd/