Install LAMP Server using command line

Hello Linux Lovers! The acronym LAMP is derived from first letters of Linux, Apache HTTP Server, Database MySQL, and Language PHP, Perl or Python. We already have shown you how to install LAMP on many platforms. So we can say that LAMP is a combination of operating system and open-source software stack.
Lets start the LAMP setup procedure:
1. To install LAMP run the below command:

sudo apt-get install lamp-server^

2. Run the following commands to setup user for your apache server, add permission & enable some modules:
sudo usermod -a -G www-data YOUR_USER_NAME

sudo chgrp -R www-data /var/www

sudo chmod -R g+w /var/www

sudo apt-get install php5-curl

sudo a2enmod rewrite

Create a Custom Layout in WordPress Theme

I was always thinking how some people create completely different looking pages on their WordPress theme. Currently we see that from an static page to ecommerce site is developed using WordPress package. Many sites has different layout for different pages. WordPress provide a simple solution to create custom layout for our website built on wordpress. […]

Basic terms of web robot.txt

What is a Web robot: In basic, web robot is simply a program. Robot is used to automatically and recursively traverses a Web site to retrieve document content and information. Search engine spiders is the most common types of Web robots. These robots visit Web sites and follow the links to add more information to […]

Getting started with CakePHP 2.2.5

Hi, currently i am developing a new application using Cakephp. As it is my first development using cakephp framework i fall in some difficulties working with it. I am writing this tutorial in hope that you can configure & run the first page smoothly. I will try to write some more tutorial for intermediate cakephp […]

Loop Through Folders with glob() of PHP

There are some times when we need to get entire list of objects (files and directory) in an specific director. In that case We need to loop through that directory to implement our necessary action. Basically I am used to include php helper files to framework. This would require a relatively large snippet of code […]

List of files in a wordpress package version 3.4.1

There some time it’s good to have a complete list of files & directory in WordPress package directory for checking patterns or finding strings directly via Search/Find. Especially when working remotely, having a complete list of WordPress files available online can help expedite the attack-recovery process. The official Codex page lists some important files, but […]