Configuring php.ini File

This post is about the configuration of the php.ini file. This file contains a lot of important and useful configurations of the PHP Language which can be customized according to your needs and requirements. in Ubuntu php.ini file is located at /etc/php5/apache2/ directory. First, have a look at the file and then we’ll discuss some important configurations one by one. Run the following command in your terminal to open php.ini file in your gedit text editor:

sudo gedit /etc/php5/apache2/php.ini

Look through the file and if you can’t understand what is this all about, then don’t worry, in this section you’ll learn about the some useful directives available in this file.

Continue reading

Installing LAMP Stack on Ubuntu and Debian in Just 3 Steps

In this post you’ll learn how to setup LAMP Stack on Ubuntu¬†and/or Debian in just 3 easy to follow steps. I’m not making the post fatter, thinner and filled with a lot of theory. I’ll just go straight forward towards the installation process. But if you want to learn a little bit of theory behind the seen then you must read my blog Understanding Root Directory, Testing PHP Engine and Installing PHP Extensions on Ubuntu after this post. For now, let’s get started!

First of all let’s define LAMP Stack for those of you who don’t know about it. LAMP Stacks means: “Storing/retrieving data in/from MySQL DBMS,¬†on Linux Operating System, using PHP Server Side Scripting Language running on Apache Server”.

Continue reading