Setting up my development environment

The following are the commands I run to in stall my development environment:

sudo port install apache2

sudo port load apache2

sudo port install redis

sudo port load redis

sudo port install rabbitmq-server

sudo port load rabbitmq-server

sudo port install php56 +apache2 +mysql56 +pear

To customize php55, copy /opt/local/etc/php55/php.ini-development (if this is a development server) or /opt/local/etc/php55/php.ini-production (if this is a production server) to /opt/local/etc/php55/php.ini and then make changes.

sudo port install php56-bbcode

sudo port install php56-curl

sudo port install php56-exif

sudo port install php56-gd

sudo port install php56-gettext

sudo port install php56-geoip

sudo port install php56-iconv

sudo port install php56-imagick

sudo port install php56-mbstring

sudo port install php56-oauth

sudo port install php56-mysql

sudo port install php56-posix

sudo port install php56-memcache

sudo port load memcached

sudo port install php56-redis

sudo port install php56-sphinx

sudo port install php56-tidy

sudo port install php56-zip

sudo port install php56-openssl

sudo port install php56-apache2handler

cd /opt/local/apache2/modules

sudo /opt/local/apache2/bin/apxs -a -e -n php5 mod_php56.so

Share

Leave a Reply

Your email address will not be published. Required fields are marked *