FreeBSD 10.3, Postgresql 9.5, PHP 7.0 on


First time Usage: fetch and extract ports

portsnap fetch
portsnap extract

At the time of writing the default version for postgreSQL was version 9.3. However, we need version 9.5.

vi /usr/ports/Mk/
# Possible values: 9.1, 9.2, 9.3, 9.4, 9.5 PGSQL_DEFAULT?= 9.5 # Possible values: 5.5, 5.6, 7.0 PHP_DEFAULT?= 7.0
cd /usr/ports/lang/php70 && make install clean
cd /usr/ports/databases/php70-pdo_pgsql/ && make install clean
cd /usr/ports/www/nginx/ && make install clean
ecent version of the NGINX introduces dynamic modules support. In FreeBSD ports tree this feature was enabled by default with the DSO knob. Several vendor's and third-party modules have been converted to dynamic modules. Unset the DSO knob builds an NGINX without dynamic modules support. To load a module at runtime, include the new `load_module' directive in the main context, specifying the path to the shared object file for the module, enclosed in quotation marks. When you reload the configuration or restart NGINX, the module is loaded in. It is possible to specify a path relative to the source directory, or a full path, please see and for details. Default path for the NGINX dynamic modules is /usr/local/libexec/nginx. =================================================================== ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/sbin/nginx This port has installed the following startup scripts which may cause these network services to be started at boot time. /usr/local/etc/rc.d/nginx If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: ===> Cleaning for openssl-1.0.2_14 ===> Cleaning for GeoIP-1.6.9 ===> Cleaning for pcre-8.39 ===> Cleaning for nginx-1.10.1_1,2 UP: TOC