FAMP (FreeBSD-Apache-MariaDB-PHP)
FAMP (FreeBSD-Apache-MariaDB-PHP)
How To Build.Setup.Deploy
by m1m1n
The Introduction
Installing Apache24
# cd /usr/ports/www/apache24 && make install clean
Installing Apache24
# cd /usr/ports/www/apache24 && make install clean
Apache24 on Start up
# ee /etc/rc.conf
The Setup. Configuration. Deploy (Apache24)
apache24_enable=”YES”
apache24_http_accept_enable=”YES”
The Setup. Configuration. Deploy (Apache24)
Configure httpd.conf
# ee /usr/local/etc/apache24/httpd.conf
The Setup. Configuration. Deploy (Apache24)
Configure hosts
# ee /etc/hosts
Installing MariaDB100-Server
# cd /usr/ports/databases/mariadb100-server
# make install clean
Installing php56
# cd /usr/ports/lang/php56 && make install clean
Phpinfo.php content
<?php phpinfo();
date.timezone = Asia/Jakarta
The Setup. Configuration. Deploy (PHP)
session.save_path= “/tmp”
Restarting Apache24
# Service Apache24 restart
The Setup. Configuration. Deploy (PHP)
The Credits
www.skyline.net.id
FSISystem