25Jan / 12 Comments Off
<? the_title(); ?>

O2 send your phone number to every site you visit using their mobile data network

Have a look:

http://lew.io/headers.php

22Jan / 12 Comments Off
<? the_title(); ?>

Awesomo project Launch !!

Arduino Mega powered Wall-e robot??

Awesomo project launches today …

19Jan / 12 Comments Off
<? the_title(); ?>

Installing Gearmand and php extension gearman.so

Gearmand

Installation:

sudo yum install gearmand.i386
sudo yum search gearmand.x86_64

Note: System architecture dependable

Start Gearmand:

gearmand -d -u root -L 127.0.0.1 -p 7003

or use defaults*

sudo /etc/rc.d/init.d/gearmand start

Check what’s up on linux ports

netstat -tulpn

PHP / PECL gearman extension for PHP

Note: Version might change or be updated.

wget http://pecl.php.net/get/gearman-0.7.0.tgz
tar -xzvf gearman-0.7.0.tgz
cd gearman-0.7.0
phpize
sudo ./configure
sudo make
sudo make install

Add to php.ini

nano /etc/php.ini
;gearman
extension=gearman.so

Restart Apache:

/usr/sbin/apachectl graceful
php --info | grep "gearman support"

Other Related Commands

Please read up on what you need, below are optional packages depending on system:

rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
sudo yum instal autoconf.noarch
sudo yum groupinstall "Development tools"
sudo yum install re2c
sudo yum install libgearman.i386
sudo yum install libgearman-devel

References:

http://www.ibm.com/developerworks/opensource/library/os-php-gearman/index.html

http://www.geeksww.com/tutorials/operating_systems/linux/installation/installing_gearman_shared_pecl_extension_for_php_on_debianubuntu_linux.php

http://www.slideshare.net/felixdv/high-gear-php-with-gearman-phpday-2010