Remove all php on FreeBSD 10

Just quick note for my self. New php application use php 5.3+ and FreeBSD box have php 5.2 installed. # pkg info | grep php php52-5.2.17_15                PHP Scripting Language php52-ctype-5.2.17_15          The ctype shared extension for php php52-curl-5.2.17_15           The curl shared extension for php php52-dom-5.2.17_15            The dom shared extension for php php52-filter-5.2.17_15         The filter shared extension …

More

Using multiple php inside one Ubuntu machine

Another challenge came. One of our application finally updated. The application development use php 5.3 + and already pass with php 5.5+ version. Time for migration schedule and the requirement is obvious : the machine able to run 2 different php (php 5.2.17 is a must and other php version is at least 5.3+). The …

More

Compile PHP 5.2.17 using phpfarm

In general phpfarm is working well in case you need multiple php environment in single machine. Special case is for PHP 5.2.17 (latest version of 5.2 generation), I got this error when compile : opt/phpfarm/src/php-5.2.17/ext/dom/node.c: In function ‘zim_domnode_getNodePath’: /opt/phpfarm/src/php-5.2.17/ext/dom/node.c:2002:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = xmlGetNodePath(nodep); ^ make: *** [ext/dom/node.lo] …

More

Quick DNS Server for Centos 5.10

I used to use Bind as dns server. The server itself is not for complex task such master or slave dns server. Only for authoritative and local dns cache (optional). As I love copy and paste I often post my experience here at least for my future reference in case I have problem. Today, my …

More

Install git on CentOS 5.10

New project update need to manually applied to vps server. Since the project use gitlab as source code basis then I need to clone it using git. Git is not available using yum # yum install git Loaded plugins: fastestmirror Determining fastest mirrors * base: mirror.es.its.nyu.edu * extras: mirrors.greenmountainaccess.net * updates: mirrors.rit.edu base                                                                                                                                             | 1.1 …

More