Category Archives: Php

PHP.

How to setup cassandra on Ubuntu 14.04

What is Cassandra? The Apache Cassandra database is the right choice when you need scalability and high availability without compromising performance. Linear scalability and proven fault-tolerance on commodity hardware or cloud infrastructure make it the perfect platform for mission-critical data.Cassandra’s … Continue reading

Posted in Cassandra, Php, Uncategorized | Tagged | Leave a comment

PHP multiprocessing using fork

PHP multiprocessing using fork: Process Control support in PHP implements the Unix style of process creation, program execution, signal handling and process termination. Find more details at PHP fork The pcntl_fork() function creates a child process that differs from the … Continue reading

Posted in Php | Leave a comment

Php solr Integration

Installing Apache Solr PHP extension On Linux and other *nix-based systems There are two ways to install the Solr PECL library on *nix systems: 1) Using the pecl command. 2) Configuring and installing it manually. Using the pecl command Install … Continue reading

Posted in Php, Solr | Tagged , | Leave a comment

Setup Lemp on ubuntu 12.04

I have seen some online guides about this but really was after one specific to Ubuntu 12.04. So here goes: Step 1 – Installing Nginx From Source , Install Prerequisites Begin by ensuring that your system’s package database and installed … Continue reading

Posted in Mysql, Nginx, Php | Tagged , , , | Leave a comment

Install Apache-Php-Mysql latest version on Centos

Install Apache-Php-Mysql latest version on Centos A) Install latest Apache Web Server: #cd /usr/local/src/ #wget http://apache.mirrors.pair.com//httpd/httpd-2.4.1.tar.bz2 #tar -jxf httpd-2.4.1.tar.bz2 #cd httpd-2.4.1 Install latest APR & APR-Utils version available (steps are given in Requirements).Unpack them into ./srclib/apr and ./srclib/apr-util (be sure … Continue reading

Posted in Apache, Mysql, Php, Web development | Tagged , , , | Leave a comment

Setup Lamp on ubuntu 12.04

Download Wubi. #sudo apt-get update #sudo apt-get upgrade #sudo apt-get install build-essential #sudo apt-get install apache2 #sudo apt-get install php5 #php /var/www/index.html #sudo apt-get install curl #curl http://localhost/ #sudo apt-get install mysql-server #sudo apt-get install phpmyadmin #sudo apt-get install subversion … Continue reading

Posted in Apache, Linux Operating System, Mysql, Php, Web development | Tagged , , , , | Leave a comment

PHP Gmail Contact Import Parser

Gmail Contact Import Parser PHP Gmail provaide you standard Api’s to access email contacts.Visit following link, https://developers.google.com/google-apps/contacts/v3/#retrieving_all_contacts You can use standard following php XML extension to parse only email ID from response by using XML namespace and querying it. simplexml_load_string , SimpleXMLElement $xml= new \SimpleXMLElement($val->getResponseBody()); … Continue reading

Posted in Php, Web development | Tagged , , , , | Leave a comment