I’m a new FreeBSD Unix system users. How can I setup and install Apache, MySQL, PHP stack on a FreeBSD 10 based Unix server?

FAMP stack is nothing but group of source software to run php based apps. Our sample setup includes:

Tutorial details
Difficulty Easy (rss)
Root privileges Yes
Requirements FreeBSD v10+
Estimated completion time 20m
  1. FreeBSD 10.1-RELEASE amd64
  2. Apache v2.4
  3. PHP v5.6
  4. MySQL v5.6

This tutorial explains how to install and configure FAMP stack.

Update your ports

Like always make sure everything is up to date before starting. I like to do:
# portsnap fetch update && portupgrade -a

Check out the full instructions here: http://www.cyberciti.biz/faq/how-to-install-apache-mysql-php-stack-on-freebsd-unix-server/