Articles


Compiling Nginx from source - Ubuntu 14.04

1 year ago by: matt

More of a reference for myself but may come in useful for someone else too.

Start off by downloading the latest version you need. In my case im going for 1.9.12. I usually throw all of this into /usr/local/src.
Keep in mind, I am running all of this as sudo, if you dont know what your doing do some reading on the linux superuser.

cd /usr/local/src
wget http://nginx.org/download/nginx-{VERSION}.tar.g...

Continue reading


Compiling PHP 7 from source

1 year ago by: matt

I work out of /usr/local/src for anything I'm compiling from source so adjust to suit your own setup.

cd /usr/local/src

Grab yourself the latest version available on the php.net website using wget in the current directory.

Once you have finished downloading you need to gunzip and untar:

sudo gunzip php-7.0.1.tar.gz
sudo tar -xvf php-7.0.1.tar
cd php-7.0.1

To keep track of what configuration I compiled so...

Continue reading