FreeBSD install PHP 7.2 with FPM for Nginx


#1

Originally published at: https://www.cyberciti.biz/faq/freebsd-install-php-7-2-with-fpm-for-nginx/

How do I install install PHP 7.2 with FPM for Nginx web server running on FreeBSD operating system?


#2

Just a bit of advice: in this case you’re probably going to want to build both PHP and nginx from ports. Yes, you can use the binaries but there will be a somewhat noticeable difference in performance between building it from the source with ports and using a precompiled binary.