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

How to install FTP Server (pureftp) on CentOS 5.10

Due to backup provider that we use is closing their service I decide to build simple ftp server for this purpose. The problem are I forgot which version of CentOS I use on the server and which ftp server that work well (easy to install). Solution for 1st problem is using cat. # cat /etc/redhat-release …

More

How to install Gammu on Lubuntu 14.04

My friend bought Wavecom 1306B gsm modem for his campus last task. He use Windows XP and trying to use the modem without success. He try it on his friend laptop that run Windows 7 also not work and he ask me to try it. Just to test the modem. If its not work might …

More

Top 10 Cool FreeBSD T-Shirt, Hat and Mug

Hobbies at once paid is a luxury that should be in grateful. One of the hobbies that I like is learning the FreeBSD operating system. Many meet new friends, exchange the latest information and so forth. One nice thing also is when meeting with a friend who had the same hobbies. Accessories are usually the …

More

Deploy google app engine : appcfg.py

Deploy php script aka application to google app engine is interesting. I came from traditional ftp-ing (so 1999 hehehe), scp and cpanel. Google app engine provide 2 ways of deployment; through appcfg.py and via git. I’ll try to explore both options now. Preparation In this stage, application need to get register first to App Engine Administration …

More

install php sdk for google app engine on ubuntu 13.04

Another need for try php on google app engine make install all required stuff : Install python $ sudo apt-get install python Check version : $ python -V Python 2.7.4 Install PHP CGI Download latest php 5.4 from download page : $ wget -c http://au1.php.net/get/php-5.4.22.tar.gz/from/this/mirror -O php-5.4.22.tar.gz $ tar xvzf php-5.4.22.tar.gz $ cd php-5.4.22/ $ …

More

old-releases.ubuntu.com vs us.archive.ubuntu.com

As copy paste user I never realized the difference between that address :us.archive.ubuntu.com and old-releases.ubuntu.com Yes, old-release hold old version ubuntu that not supported any longer. I see that when I need to install php5-curl on Maverick and I get 404 message. Change sources.list entry from us.archive.ubuntu.com to old-releases.ubuntu.com give me php5-curl # apt-get install …

More

Testing Newrelic on Ubuntu Server

I have chance to try newrelic software. Its advance monitoring service and analysis in one place. As they said “application performance management and monitoring”. After sign up for free account I continue to deploy it on Ubuntu server (most of my server use freeBSD but I prefer to try it on Linux based system first). …

More

Testing Debian KFreeBSD

# uname -a GNU/kFreeBSD debian 8.1-1-686 #0 Tue Jan  4 17:59:05 UTC 2011 i686 i386 Intel(R) Atom(TM) CPU N550   @ 1.50GHz GNU/kFreeBSD Update # apt-get update Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ – Official kfreebsd-i386 CD Binary-1 20110205-22:58] squeeze Release.gpg Media change: please insert the disc labeled ‘Debian GNU/Linux 6.0.0 _Squeeze_ – Official kfreebsd-i386 CD Binary-1 …

More

How to install Debian KFreeBSD

This post got delayed very long, I’ve already create the video since Februari 22 2011 but still have no time to publish. I just curious on how Debian and FreeBSD work in one place called Debian KFreBSD and as always everything just start from installation step and that is the main reason why I write …

More

Downgrade php version from 5.3 to 5.2 on Ubuntu 10.10 x86

New Server has come and again I must downgrade php version to 5.2 due to some problem on web application. I use same method I use for Ubuntu 10.04 for Ubuntu 10.10 x86. Let start Download required files for PHP 5.2 from Ubuntu Karmic repository #cd /etc/apt/sources.list.d #wget http://randyfay.com/sites/default/files/karmic_0.list # cd /etc/apt/preferences.d/ #wget http://randyfay.com/sites/default/files/php_1. # …

More