Showing posts from June, 2014

My custom optimized build of PHP 5.5 & PHP 5.4

Everyone has their own requirements of what they need enabled or not, this is my setup that I've used over the last couple of years. I have had the option of both PHP 5.4 and 5.5, but my personal preference is to go with the latest 5.5 releases. apt-get install autoconf libxml2-dev libcurl3-dev libmysqlclient-dev libbz2-dev libsnmp9-dev libjpeg-dev libpng-dev libfreetype6-dev libmcrypt-dev libc-client-dev snmp export PHP_VER=5.4.29 export PHP_PREFIX=php5.4 -- for php 5.3 - 5.4 wget "$PHP_VER.tar.gz" -O php-$PHP_VER.tar.gz tar xfz "php-$PHP_VER.tar.gz" cd "php-$PHP_VER" export PHP_VER=5.5.13 export PHP_PREFIX=php5.5 cd /app/sources/ rm php* -fr -- for php 5.5 wget "$PHP_VER.tar.bz2/from/" -O php-$PHP_VER.tar.bz2 tar xjf "php-$PHP_VER.tar.bz2" cd "php-$PHP_VER" ### compile touch ac*; ./buildconf --force ./configu

How to compile Percona XtraDB Cluster 5.6 on Ubuntu 14.04 Trusty Tahr

Getting a new server with the latest LTS started out like great news, but soon turned out to be a "couple" of hours wasted on google'n without success. #percona on freenode is sadly still very very idle and of no help, and after reading different sources such as I managed to get it all working and wanted to share the success. Note: There might be more packages that need to be installed that I already had when installing another application, if you get an error along the way, leave a comment and I'll help out and update the blog as we go along. apt-get install bzr openssl cmake libncurses5-dev bison xinetd socat build-essential flex bison automake autoconf bzr libtool libaio-dev zlib1