Here’s another tutorial, by user, on how to get the FEMP stack set up on your FreeBSD server.
Nginx (pronounced engine-x) is a free and open-source high-performance HTTP server. Nginx focus on high concurrency, performance and low memory usage. And it is make nginx a one of the most popular a web server. You can use nginx also as reverse proxy for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer.
MariaDB is one of the relational database management system (RDBMS) forked from MySQL and it is drop-in replacement for MySQL and developed by some of the original authors of MySQL. MariaDB strives to be logical choice for database professionals looking for a robust, scalable, and reliable SQL server.
FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation. come with some additional features, like a process management, stdout and stderr logging, accelerated upload support, ability to start workers with different uid or gid and listening on different port. It is very useful for heavy-loaded sites.